when i upgraded a Ubiquiti NanoStation Loco M2 (XM board) from a build based on a january commit of v2017.1.x to a march one , the device was "dead".
making it live again worked through flashing Stock AirOS 5.6.15 30572 170328 1107 via TFTP
but flashing a Gluon factory build via TFTP didn't work
also a LEDE 17.01.4 factory image via TFTP didn't work
also a OpenWrt Snapshot factory image via TFTP didn't work
after downgrading to AirOS 5.5.11 from the stock webinterface of AirOS 5.6.15, i could flash the Gluon january build via TFTP again.
afterwards, i could also flash a current build based on the "next" branch of Gluon via TFTP successfully, which didn't work either via TFTP nor sysupgrade when running on the AirOS 5.6.15 bootloader?!?
after flashing this next branch build, i downgraded with "sysupgrade -n" to the v2017.1.x branch successfully
also downgrading to a january v2017.1.x build and upgrading back to a current v2017.1.x build worked now.
i'm not really sure what conclusions to draw here:
i'm happy to do additional tests, just tell me what to test exactly (no serial console, though!)
maybe related to #663 ?
the goal should be to fix sysupgrade for devices already out there without having to downgrade AirOS (because that is probably impossible remotely)
Just to narrow the search ... We have a Loco M2 XM with gluon 2017.1.5. It is up and running 4 weeks now.
@tackin thank you, but we don't know which AirOS Bootloader your Loco M2 has, so the information doesn't help much as is :-(
i will have to test one thing:
upgrading from an "older" build of v2017.1.x to my january build - maybe sysupgrade is broken completely in v2017.1.x when running an airos 5.6 bootloader.
@2tata reported on IRC, that he also has a similar problem, maybe he can provide us with information:
With the update from gluon2017.1.5 to gluon2017.1.6 last night, the "Ubiquiti NanoStation loco M2" router went offline. :(
@cajuskamer same question to you, do you know which firmware your Loco ran before the 2017.1.5 ?
a bit offtopic, but i ordered a Loco M2 yesterday for use with gluon / ffac, any tips to not brick it?
@rotanid the lost routers are on our experimental branch:
gluon 2016.2.7 (stable) -> gluon 2017.1.2 -> gluon 2017.1.5 -> gluon 2017.1.6 (offline)
see firmware ffdo for details.
sigh... can't reproduce the problem anymore. someone else has to check it...
flashed AirOS 5.6 via TFTP, flashed a v2017.1.x build from november 2017 via TFTP which works great, updated to the january build via "sysupgrade -n" successfully.
a subsequent update to a build from march and one from april does also work with "sysupgrade -n".
flashed AirOS 5.6 via TFTP, flashed a v2016.2.7.1 build via WebUI, which works. updated to the january v2017.1.x build via "sysupgrade -n" successfully.
flashed AirOS 5.6 via TFTP, flashed a v2016.2.7.1 build via WebUI, which works. update to a v2017.1.x build from march via autoupdater successfully.
flashed a FFDO v2016.2.7 build via "sysupgrade -n", update to v2017.1.2, 2017.1.5, v2017.1.6 (each via config mode with keeping the settings) -> no problems
@cajuskamer do you have any idea which AirOS version your device ran when you first flashed it to Gluon? maybe even know if initial Gluon flash was via TFTP or WebUI from AirOS?
i managed to reproduce it after neoraider hinted, that flashing AirOS via TFTP doesn't change the bootloader.
after i flashed AirOS 5.6 via the WebUI of AirOS 5.5 i ran on the newer (2015) bootloader. you can check the bootloader version by copying the content of /dev/mtd0 and doing "strings mtd0" on the result. (not possible on the device itself, content has to be copied via scp to a "normal" linux machine)
with the new bootloader, flashing Gluon v2017.1.6 results in soft-brick, no matter if it is via sysupgrade or via the AirOS WebUI with the factory image. Gluon v2017.1.5 doesn't have a problem.
we managed to identify 6bd839f361d8210d8a52b3b6948e28aab9275c64 as the commit which introduced the problem. (if you run on the bootloader U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50))
but we don't know so far, what the problem is and how to fix it, we need a serial console log for this.
until someone supplies this log of a bricked device, i will try builds with newer kernel versions.
update: the latest gluon master branch commit doesn't seem to be affected. fix vor stable branch v2017.1.x is still pending, we need a serial log.
Serial Log from the last working firmware:
BusyBox v1.23.2 (2017-08-23 11:48:25 CEST) built-in shell (ash)
root@EmdenDevMeshRichtfunk:/# Watchdog handover: fd=3
- watchdog -
Sending TERM to remaining processes ... dnsmasq sh sysupgrade ubus ubusd logd haveged Aug 23 12:07:02 haveged: haveged: Stopping due to signal 15
netifd uhttpd dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...
Writing from <stdin> to firmware ...
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware...TRX header not found
Error fixing up TRX header
Upgrade completed
Rebooting system...
umount: can't umount /dev: Device or resource busy
umount: can't umount /tmp: Device or resource busy
[ 345.120000] reboot: Restarting system
U-Boot 1.1.4.2-s594 (Dec 5 2012 - 15:23:07)
Board: Ubiquiti Networks XM board (rev 1.2 e0a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS LEDE Linux-4.4.116
Created: 2017-09-25 9:38:49 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1363016 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.116 (tata@keks) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3840+42-788312ca59) ) #0 Mon Sep 25 09:38:49 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 27480K/32768K available (3110K kernel code, 162K rwdata, 776K rodata, 296K init, 205K bss, 5288K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[ 0.007875] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080536] pid_max: default: 32768 minimum: 301
[ 0.085315] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091904] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102759] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.112594] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.120497] NET: Registered protocol family 16
[ 0.127135] MIPS: machine is Ubiquiti Bullet M
[ 0.133722] registering PCI controller with io_map_base unset
[ 0.372726] PCI host bridge to bus 0000:00
[ 0.376833] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.383735] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.389279] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.396045] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.404018] pci 0000:00:00.0: fixup device configuration
[ 0.411619] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.418916] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.425146] clocksource: Switched to clocksource MIPS
[ 0.431993] NET: Registered protocol family 2
[ 0.437796] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.444754] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.451164] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.457650] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.463486] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.470182] NET: Registered protocol family 1
[ 0.481069] Crashlog allocated RAM at address 0x1f00000
[ 0.508267] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.514093] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.527551] io scheduler noop registered
[ 0.531469] io scheduler deadline registered (default)
[ 0.537127] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.547777] console [ttyS0] disabled
[ 0.571427] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[ 0.580104] console [ttyS0] enabled
[ 0.580104] console [ttyS0] enabled
[ 0.587104] bootconsole [early0] disabled
[ 0.587104] bootconsole [early0] disabled
[ 0.602414] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.608222] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.613151] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.619109] Creating 5 MTD partitions on "spi0.0":
[ 0.623926] 0x000000000000-0x000000040000 : "u-boot"
[ 0.632145] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.639807] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.657448] 2 uimage-fw partitions found on MTD device firmware
[ 0.663409] 0x000000050000-0x0000001a0000 : "kernel"
[ 0.670352] 0x0000001a0000-0x0000007b0000 : "rootfs"
[ 0.677739] mtd: device 4 (rootfs) set to be root filesystem
[ 0.683464] 1 squashfs-split partitions found on MTD device rootfs
[ 0.689748] 0x0000003e0000-0x0000007b0000 : "rootfs_data"
[ 0.697534] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.704570] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.724885] libphy: ag71xx_mdio: probed
[ 1.316848] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.327016] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.336222] NET: Registered protocol family 10
[ 1.345830] NET: Registered protocol family 17
[ 1.350404] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.363278] 8021q: 802.1Q VLAN Support v1.8
[ 1.376061] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.385725] Freeing unused kernel memory: 296K
[ 2.785596] init: Console is alive
[ 2.789297] init: - watchdog -
[ 4.328796] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.447835] usbcore: registered new interface driver usbfs
[ 4.453480] usbcore: registered new interface driver hub
[ 4.459032] usbcore: registered new device driver usb
[ 4.478399] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.487025] ehci-platform: EHCI generic platform driver
[ 4.496350] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.504537] ohci-platform: OHCI generic platform driver
[ 4.510908] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.528759] init: - preinit -
[ 5.321871] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.356459] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
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
[ 7.326775] eth0: link up (100Mbps/Full duplex)
[ 7.331365] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.742598] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 8.749891] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 8.756550] jffs2_build_filesystem(): erasing all blocks after the end marker...
done.
[ 32.331034] jffs2: notice: (385) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 32.349065] mount_root: overlay filesystem has not been fully initialized yet
[ 32.364477] mount_root: switching to jffs2 overlay
- config restore -
[ 33.179027] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 33.351997] eth0: link down
[ 33.369990] procd: - early -
[ 33.373021] procd: - watchdog -
[ 34.075297] procd: - watchdog -
[ 34.078797] procd: - ubus -
[ 34.309232] random: ubusd: uninitialized urandom read (4 bytes read, 54 bits of entropy available)
[ 34.318882] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.328230] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.337611] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.346751] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.356037] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.365357] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.374836] procd: - init -
Please press Enter to activate this console.
BusyBox v1.25.1 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (17.01-SNAPSHOT, r3840+42-788312ca59)
\________\/ -----------------------------------------------------------
root@(none):/# [ 34.993648] kmodloader: loading kernel modules from /etc/modules.d/*
[ 35.005228] tun: Universal TUN/TAP device driver, 1.6
[ 35.010311] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 35.041096] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 35.074284] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 35.082408] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 35.221699] batman_adv: B.A.T.M.A.N. advanced 2017.2 (compatibility version 15) loaded
[ 35.276405] u32 classifier
[ 35.279137] input device check on
[ 35.282805] Actions configured
[ 35.296573] Mirror/redirect action on
[ 35.403844] Bridge firewalling registered
[ 35.487880] Ebtables v2.0 registered
[ 35.502131] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 35.626532] nf_conntrack version 0.5.0 (434 buckets, 1736 max)
[ 35.693839] xt_time: kernel timezone is -0000
[ 35.746493] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 35.757436] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 35.789592] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40
[ 35.989222] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 37.211080] random: jshn: uninitialized urandom read (4 bytes read, 60 bits of entropy available)
[ 37.337284] random: jshn: uninitialized urandom read (4 bytes read, 61 bits of entropy available)
[ 56.688310] device eth0 entered promiscuous mode
[ 56.709117] IPv6: ADDRCONF(NETDEV_UP): br-wan: link is not ready
[ 56.792501] IPv6: ADDRCONF(NETDEV_UP): local-node: link is not ready
[ 56.931955] IPv6: ADDRCONF(NETDEV_UP): br-client: link is not ready
[ 57.019868] IPv6: ADDRCONF(NETDEV_CHANGE): local-node: link becomes ready
[ 57.312009] device local-port entered promiscuous mode
[ 57.328624] br-client: port 1(local-port) entered forwarding state
[ 57.334914] br-client: port 1(local-port) entered forwarding state
[ 57.345381] IPv6: ADDRCONF(NETDEV_CHANGE): br-client: link becomes ready
[ 58.197559] batman_adv: bat0: Adding interface: primary0
[ 58.202931] batman_adv: bat0: Interface activated: primary0
[ 58.211071] 8021q: adding VLAN 0 to HW filter on device bat0
[ 58.267447] device bat0 entered promiscuous mode
[ 58.272175] br-client: port 2(bat0) entered forwarding state
[ 58.277965] br-client: port 2(bat0) entered forwarding state
[ 58.505947] batman_adv: bat0: Interface deactivated: primary0
[ 58.570152] IPv6: ADDRCONF(NETDEV_UP): primary0: link is not ready
[ 58.631403] batman_adv: bat0: Interface activated: primary0
[ 59.325227] br-client: port 1(local-port) entered forwarding state
[ 60.115741] br-client: port 2(bat0) entered disabled state
[ 60.121360] br-client: port 1(local-port) entered disabled state
[ 60.138664] random: nonblocking pool is initialized
[ 60.178721] device bat0 left promiscuous mode
[ 60.183237] br-client: port 2(bat0) entered disabled state
[ 60.222211] device local-port left promiscuous mode
[ 60.227342] br-client: port 1(local-port) entered disabled state
[ 60.496426] IPv6: ADDRCONF(NETDEV_UP): local-port: link is not ready
[ 60.695090] eth0: link up (100Mbps/Full duplex)
[ 60.730681] device bat0 entered promiscuous mode
[ 60.817164] br-wan: port 1(eth0) entered forwarding state
[ 60.822654] br-wan: port 1(eth0) entered forwarding state
[ 60.952945] device local-port entered promiscuous mode
[ 60.966000] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready
[ 60.990683] br-client: port 2(local-port) entered forwarding state
[ 60.997044] br-client: port 2(local-port) entered forwarding state
[ 61.003285] br-client: port 1(bat0) entered forwarding state
[ 61.009025] br-client: port 1(bat0) entered forwarding state
[ 61.749787] batman_adv: bat0: Changing gw mode from: off to: client
[ 61.828291] batman_adv: bat0: gw_sel_class: Changing from: 20 to: 1
[ 61.834987] batman_adv: bat0: hop_penalty: Changing from: 30 to: 15
[ 61.974950] batman_adv: bat0: orig_interval: Changing from: 1000 to: 5000
[ 62.815211] br-wan: port 1(eth0) entered forwarding state
[ 62.995181] br-client: port 2(local-port) entered forwarding state
[ 63.005172] br-client: port 1(bat0) entered forwarding state
[ 63.530658] batman_adv: bat0: Adding interface: br-wan
[ 63.535940] batman_adv: bat0: The MTU of interface br-wan is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 63.560088] batman_adv: bat0: Interface activated: br-wan
[ 65.836970] IPv6: ADDRCONF(NETDEV_UP): client0: link is not ready
[ 66.055664] device client0 entered promiscuous mode
[ 66.230716] IPv6: ADDRCONF(NETDEV_CHANGE): client0: link becomes ready
[ 66.237541] br-client: port 3(client0) entered forwarding state
[ 66.243577] br-client: port 3(client0) entered forwarding state
[ 66.808707] IPv6: ADDRCONF(NETDEV_UP): ibss0: link is not ready
[ 66.964239] ibss0: Created IBSS using preconfigured BSSID 02:00:0a:12:e0:00
[ 66.971304] ibss0: Creating new IBSS network, BSSID 02:00:0a:12:e0:00
[ 66.978862] IPv6: ADDRCONF(NETDEV_CHANGE): ibss0: link becomes ready
[ 68.235230] br-client: port 3(client0) entered forwarding state
[ 68.938941] batman_adv: bat0: Adding interface: ibss0
[ 68.944296] batman_adv: bat0: Interface activated: ibss0
[ 72.772190] batman_adv: bat0: Adding interface: mesh-vpn
[ 72.777652] batman_adv: bat0: The MTU of interface mesh-vpn is too small (1312) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 72.801974] batman_adv: bat0: Interface activated: mesh-vpn
[ 108.256396] batman_adv: bat0: Interface deactivated: mesh-vpn
[ 108.310709] batman_adv: bat0: Removing interface: mesh-vpn
[ 110.929751] device client0 left promiscuous mode
[ 110.934715] br-client: port 3(client0) entered disabled state
[ 111.188827] batman_adv: bat0: Interface deactivated: ibss0
[ 111.342900] batman_adv: bat0: Removing interface: ibss0
[ 113.148073] br-client: port 2(local-port) entered disabled state
[ 113.154281] br-client: port 1(bat0) entered disabled state
[ 113.377905] br-client: port 2(local-port) entered forwarding state
[ 113.384233] br-client: port 2(local-port) entered forwarding state
[ 113.390553] br-client: port 1(bat0) entered forwarding state
[ 113.396308] br-client: port 1(bat0) entered forwarding state
[ 113.983669] br-client: port 2(local-port) entered disabled state
[ 113.989893] br-client: port 1(bat0) entered disabled state
[ 114.076668] device bat0 left promiscuous mode
[ 114.081220] br-client: port 1(bat0) entered disabled state
[ 114.157159] device local-port left promiscuous mode
[ 114.162228] br-client: port 2(local-port) entered disabled state
[ 114.287089] IPv6: ADDRCONF(NETDEV_UP): local-port: link is not ready
[ 114.411224] device bat0 entered promiscuous mode
[ 114.555746] device local-port entered promiscuous mode
[ 114.635666] br-client: port 2(local-port) entered forwarding state
[ 114.641978] br-client: port 2(local-port) entered forwarding state
[ 114.648286] br-client: port 1(bat0) entered forwarding state
[ 114.653999] br-client: port 1(bat0) entered forwarding state
[ 115.568791] batman_adv: bat0: Adding interface: mesh-vpn
[ 115.574156] batman_adv: bat0: The MTU of interface mesh-vpn is too small (1312) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 115.598544] batman_adv: bat0: Interface activated: mesh-vpn
[ 116.635239] br-client: port 2(local-port) entered forwarding state
[ 116.645239] br-client: port 1(bat0) entered forwarding state
[ 116.869271] IPv6: ADDRCONF(NETDEV_UP): client0: link is not ready
[ 117.043175] device client0 entered promiscuous mode
[ 117.086042] IPv6: ADDRCONF(NETDEV_CHANGE): client0: link becomes ready
[ 117.092845] br-client: port 3(client0) entered forwarding state
[ 117.098985] br-client: port 3(client0) entered forwarding state
[ 117.460287] IPv6: ADDRCONF(NETDEV_UP): ibss0: link is not ready
[ 117.490322] ibss0: Created IBSS using preconfigured BSSID 02:00:0a:12:e0:00
[ 117.497429] ibss0: Creating new IBSS network, BSSID 02:00:0a:12:e0:00
[ 117.504608] IPv6: ADDRCONF(NETDEV_CHANGE): ibss0: link becomes ready
[ 118.775245] batman_adv: bat0: Adding interface: ibss0
[ 118.780525] batman_adv: bat0: Interface activated: ibss0
[ 119.095215] br-client: port 3(client0) entered forwarding state
root@EmdenDevMeshRichtfunk:/# Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... sysupgrade ubus ubusd logd haveged haveged: haveged: Stopping due to signal 15
netifd uhttpd dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...
Writing from <stdin> to firmware ...
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 156.542023] reboot: Restarting system
U-Boot 1.1.4.2-s594 (Dec 5 2012 - 15:23:07)
Board: Ubiquiti Networks XM board (rev 1.2 e0a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS LEDE Linux-4.4.124
Created: 2017-09-25 9:38:49 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1363973 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.124 (tata@runner01) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3871+42-6577fe2198) ) #0 Mon Sep 25 09:38:49 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 27480K/32768K available (3113K kernel code, 167K rwdata, 776K rodata, 288K init, 205K bss, 5288K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[ 0.007874] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080535] pid_max: default: 32768 minimum: 301
[ 0.085315] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091902] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.112632] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.120546] NET: Registered protocol family 16
[ 0.127187] MIPS: machine is Ubiquiti Bullet M
[ 0.133751] registering PCI controller with io_map_base unset
[ 0.372849] PCI host bridge to bus 0000:00
[ 0.376954] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.383851] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.389399] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.396164] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.404139] pci 0000:00:00.0: fixup device configuration
[ 0.411741] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.419036] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.425284] clocksource: Switched to clocksource MIPS
[ 0.432107] NET: Registered protocol family 2
[ 0.437892] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.444848] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.451260] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.457747] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.463579] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.470276] NET: Registered protocol family 1
[ 0.481154] Crashlog allocated RAM at address 0x1f00000
[ 0.508275] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.514094] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.527518] io scheduler noop registered
[ 0.531443] io scheduler deadline registered (default)
[ 0.537087] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.547667] console [ttyS0] disabled
[ 0.571312] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[ 0.579992] console [ttyS0] enabled
[ 0.579992] console [ttyS0] enabled
[ 0.586999] bootconsole [early0] disabled
[ 0.586999] bootconsole [early0] disabled
[ 0.602304] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.608115] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.613043] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.619003] Creating 5 MTD partitions on "spi0.0":
[ 0.623820] 0x000000000000-0x000000040000 : "u-boot"
[ 0.632017] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.639690] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.657322] 2 uimage-fw partitions found on MTD device firmware
[ 0.663285] 0x000000050000-0x0000001a0000 : "kernel"
[ 0.670221] 0x0000001a0000-0x0000007b0000 : "rootfs"
[ 0.677593] mtd: device 4 (rootfs) set to be root filesystem
[ 0.683318] 1 squashfs-split partitions found on MTD device rootfs
[ 0.689604] 0x0000003e0000-0x0000007b0000 : "rootfs_data"
[ 0.697423] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.704460] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.724729] libphy: ag71xx_mdio: probed
[ 1.316982] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.327152] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.336353] NET: Registered protocol family 10
[ 1.345914] NET: Registered protocol family 17
[ 1.350486] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.363352] 8021q: 802.1Q VLAN Support v1.8
[ 1.375454] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.384979] Freeing unused kernel memory: 288K
[ 2.807010] init: Console is alive
[ 2.810709] init: - watchdog -
[ 4.348179] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.465261] usbcore: registered new interface driver usbfs
[ 4.470995] usbcore: registered new interface driver hub
[ 4.476492] usbcore: registered new device driver usb
[ 4.495867] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.504411] ehci-platform: EHCI generic platform driver
[ 4.513772] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.522039] ohci-platform: OHCI generic platform driver
[ 4.528367] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.546226] init: - preinit -
[ 5.335379] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.369944] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
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
[ 7.346911] eth0: link up (100Mbps/Full duplex)
[ 7.351505] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.759282] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 8.766579] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 8.773219] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 32.350566] jffs2: notice: (385) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 32.368483] mount_root: overlay filesystem has not been fully initialized yet
[ 32.384158] mount_root: switching to jffs2 overlay
- config restore -
[ 33.309932] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 33.488493] eth0: link down
[ 33.506388] procd: - early -
[ 33.509412] procd: - watchdog -
[ 34.206368] procd: - watchdog -
[ 34.209873] procd: - ubus -
[ 34.441768] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.451430] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.460641] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.470032] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.479188] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.488492] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.497839] random: ubusd: uninitialized urandom read (4 bytes read, 55 bits of entropy available)
[ 34.507406] procd: - init -
Please press Enter to activate this console.
[ 35.099629] kmodloader: loading kernel modules from /etc/modules.d/*
[ 35.110997] tun: Universal TUN/TAP device driver, 1.6
[ 35.116156] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 35.141447] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 35.183773] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 35.191886] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 35.330557] batman_adv: B.A.T.M.A.N. advanced 2017.2 (compatibility version 15) loaded
[ 35.387461] u32 classifier
[ 35.390192] input device check on
[ 35.393860] Actions configured
[ 35.405921] Mirror/redirect action on
[ 35.548131] Bridge firewalling registered
[ 35.619761] Ebtables v2.0 registered
[ 35.633748] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 35.744948] nf_conntrack version 0.5.0 (433 buckets, 1732 max)
[ 35.812336] xt_time: kernel timezone is -0000
[ 35.864084] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 35.875069] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 35.907238] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40
[ 36.106921] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 37.324826] random: jshn: uninitialized urandom read (4 bytes read, 59 bits of entropy available)
[ 37.450697] random: jshn: uninitialized urandom read (4 bytes read, 59 bits of entropy available)
[ 58.128416] device eth0 entered promiscuous mode
[ 58.149801] IPv6: ADDRCONF(NETDEV_UP): br-wan: link is not ready
[ 58.231503] IPv6: ADDRCONF(NETDEV_UP): local-node: link is not ready
[ 58.382488] IPv6: ADDRCONF(NETDEV_UP): br-client: link is not ready
[ 58.443025] IPv6: ADDRCONF(NETDEV_CHANGE): local-node: link becomes ready
[ 58.743103] device local-port entered promiscuous mode
[ 58.782601] br-client: port 1(local-port) entered forwarding state
[ 58.788962] br-client: port 1(local-port) entered forwarding state
[ 58.802870] IPv6: ADDRCONF(NETDEV_CHANGE): br-client: link becomes ready
[ 59.627707] batman_adv: bat0: Adding interface: primary0
[ 59.633082] batman_adv: bat0: Interface activated: primary0
[ 59.641325] 8021q: adding VLAN 0 to HW filter on device bat0
[ 59.694696] device bat0 entered promiscuous mode
[ 59.699522] br-client: port 2(bat0) entered forwarding state
[ 59.705237] br-client: port 2(bat0) entered forwarding state
[ 59.975801] batman_adv: bat0: Interface deactivated: primary0
[ 60.036973] IPv6: ADDRCONF(NETDEV_UP): primary0: link is not ready
[ 60.045262] batman_adv: bat0: Interface activated: primary0
[ 60.157248] random: nonblocking pool is initialized
[ 60.785380] br-client: port 1(local-port) entered forwarding state
[ 61.506557] br-client: port 2(bat0) entered disabled state
[ 61.512171] br-client: port 1(local-port) entered disabled state
[ 61.647003] eth0: link up (100Mbps/Full duplex)
[ 61.651628] br-wan: port 1(eth0) entered forwarding state
[ 61.657158] br-wan: port 1(eth0) entered forwarding state
[ 61.916013] device bat0 left promiscuous mode
[ 61.920794] br-client: port 2(bat0) entered disabled state
[ 61.975034] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready
[ 61.983123] device local-port left promiscuous mode
[ 61.988240] br-client: port 1(local-port) entered disabled state
[ 62.056793] IPv6: ADDRCONF(NETDEV_UP): local-port: link is not ready
[ 62.125406] device bat0 entered promiscuous mode
[ 62.190349] device local-port entered promiscuous mode
[ 62.233241] br-client: port 2(local-port) entered forwarding state
[ 62.239597] br-client: port 2(local-port) entered forwarding state
[ 62.245871] br-client: port 1(bat0) entered forwarding state
[ 62.251586] br-client: port 1(bat0) entered forwarding state
[ 63.243522] batman_adv: bat0: Changing gw mode from: off to: client
[ 63.393071] batman_adv: bat0: gw_sel_class: Changing from: 20 to: 1
[ 63.462701] batman_adv: bat0: hop_penalty: Changing from: 30 to: 15
[ 63.525936] batman_adv: bat0: orig_interval: Changing from: 1000 to: 5000
[ 63.655372] br-wan: port 1(eth0) entered forwarding state
[ 64.235593] br-client: port 2(local-port) entered forwarding state
[ 64.245378] br-client: port 1(bat0) entered forwarding state
[ 65.878894] batman_adv: bat0: Adding interface: br-wan
[ 65.884082] batman_adv: bat0: The MTU of interface br-wan is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 65.908292] batman_adv: bat0: Interface activated: br-wan
[ 66.429592] IPv6: ADDRCONF(NETDEV_UP): client0: link is not ready
[ 66.684065] device client0 entered promiscuous mode
[ 66.787233] IPv6: ADDRCONF(NETDEV_CHANGE): client0: link becomes ready
[ 66.794117] br-client: port 3(client0) entered forwarding state
[ 66.800265] br-client: port 3(client0) entered forwarding state
[ 68.795346] br-client: port 3(client0) entered forwarding state
[ 74.539766] batman_adv: bat0: Adding interface: mesh-vpn
[ 74.545182] batman_adv: bat0: The MTU of interface mesh-vpn is too small (1312) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 74.569585] batman_adv: bat0: Interface activated: mesh-vpn
Here is the serial output I get from the soft-bricked Ubiquiti Nanostation M2 after I had flashed a Gluon master about 3 weeks ago. This NSM2 must have been shipped with an AirOS 5.6 initially (at least the other NSM2 bought from the same batch had), but had some Gluon installed from more than a year ago, I think. So not a soft-brick from AirOS 5.6 to Gluon master directly, but from an old Gluon version to Gluon master.
$ picocom -b 115200 /dev/ttyUSB0
picocom v2.2
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
Type [C-a] [C-h] to see available commands
Terminal ready
U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS LEDE Linux-4.4.120
Created: 2018-03-04 9:26:34 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1364045 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Here things just seem to hang.
With aborted autoboot, here is some information gathered from within U-Boot:
U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS LEDE Linux-4.4.120
Created: 2018-03-04 9:26:34 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1364045 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e012)
Hit any key to stop autoboot: 0
ar7240>
ar7240> flinfo
Bank # 1: mx25l64 (Id: 0xc22017)
Size: 8 MB in 128 sectors
ar7240> imls
Image at 9F050000:
Image Name: MIPS LEDE Linux-4.4.120
Created: 2018-03-04 9:26:34 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1364045 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
ar7240> iminfo
## Checking Image at 81000000 ...
Bad Magic Number
ar7240> version
U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
ar7240> mtdparts
device nor0 , # parts = 6
#: name size offset mask_flags
0: u-boot 0x00040000 0x00000000 0
1: u-boot-env 0x00010000 0x00040000 0
2: kernel 0x00100000 0x00050000 0
3: rootfs 0x00660000 0x00150000 0
4: cfg 0x00040000 0x007b0000 0
5: EEPROM 0x00010000 0x007f0000 0
active partition: nor0,0 - (u-boot) 0x00040000 @ 0x00000000
defaults:
mtdids : nor0=ar7240-nor0
mtdparts: mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
ar7240>
with work from @NeoRaider and tests by @2tata and myself we identified a commit as the possible culprit which was part of the Linux Kernel 4.4.120, probably this commit: https://lkml.org/lkml/2018/3/2/442
Fixed with 4a2f7945672e5561bd8ce18b2406675720bc5fd8
everyone reading this, please test the fix in the v2017.1.x branch as well as in the master branch, so we can be sure the next release doesn't have a problem again
Looks good here, too! Tested a Ubiquiti NanoStation M2 xm, which I had bricked previously, with a new firmware provided by @mweinelt which should include this fix. And now it's running fine again.
Thanks a lot, @NeoRaider!
I know, it probably was not affected but my Loco M2 XM with (probably) older bootloader also updated with 2017.1.7 via ssh and autoupdater . But I needed to run autoupdater twice.
Thanks to NeoRaider and his brilliant mind.
@tackin the "need to run twice" sometimes happens. i don't have a serial log of these events, but i guess it's due to a safety measure (problem during update, better reboot and try again later than going into an undefined state)
Most helpful comment
Fixed with 4a2f7945672e5561bd8ce18b2406675720bc5fd8