[FS#865] Upgrading Firmware is broken on Linksys EA9500

LEDE Bugs lede-bugs at lists.infradead.org
Mon Jul 10 20:29:21 PDT 2017


The following task has a new comment added:

FS#865 - Upgrading Firmware is broken on Linksys EA9500
User who did this - Vivek (npcomplete)

----------
After building your source I get this. Thanks!


Sending TERM to remaining processes ... logd rpcd netifd odhcpd smbd nmbd ntpclient collectd dnsmasq dnscrypt-proxy ntpd sh sy                                                                       supgrade ubus ubusd
Sending KILL to remaining processes ...
Extracted 0x3fffe4 bytes into /tmp/sysupgrade-bcm53xx/kernel
Extracted 0xb20000 bytes into /tmp/sysupgrade-bcm53xx/root
Unlocking firmware ...

Writing from /tmp/kernel.trx to firmware ...
Switching to ramdisk...
/lib/upgrade/stage2: line 142: /bin/mount: not found
/lib/upgrade/stage2: line 142: /bin/mount: not found
/lib/upgrade/stage2: line 142: /bin/mount: not found
/lib/upgrade/stage2: line 142: /bin/mount: not found
/lib/upgrade/stage2: line 142: /bin/umount: not found
/lib/upgrade/stage2: line 142: /bin/mount: not found
/lib/upgrade/stage2: line 142: /bin/umount: not found
Performing system upgrade...
cat: can't open '/tmp/sysinfo/board_name': No such file or directory
ubiattach: error!: UBI is not present in the system
libmtd: error!: cannot open "/dev/mtd5"
        error 2 (No such file or directory)
libmtd: MTD subsystem is old and does not support sysfs, so MTD character device nodes have to exist
libmtd: error!: "/dev/mtd5" is not a character device
ubiformat: error!: cannot get information about "/dev/mtd5"
           error 22 (Invalid argument)
ubiattach: error!: UBI is not present in the system
ubimkvol: error!: bad volume size: "0"
cannot create rootfs volume
ubiupdatevol: error!: file size must be specified if input is stdin
tar: /tmp/root.ubi: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
sysupgrade successful
umount: /mnt/dev: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
umount: /mnt: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
umount: /mnt/tmp: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
[  104.542844] reboot: Restarting system



root at LEDE:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00100000 00020000 "nvram"
mtd2: 00080000 00020000 "nvram"
mtd3: 01d00000 00020000 "firmware"
mtd4: 003fffe4 00020000 "linux"
mtd5: 01900000 00020000 "ubi"
mtd6: 06100000 00020000 "failsafe"

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=865#comment2927



More information about the lede-bugs mailing list