[FS#203] Sysupgrade fails ea8500
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Oct 10 01:07:34 PDT 2016
The following task has a new comment added:
FS#203 - Sysupgrade fails ea8500
User who did this - Sebastian (karto)
----------
hello
from https://downloads.lede-project.org/snapshots/targets/ipq806x/
root at lede:/tmp# sha256sum -c sha256sums 2> /dev/null | grep OK
lede-ipq806x-EA8500-squashfs-sysupgrade.tar: OK
root at lede:/tmp# ls -la lede-ipq806x-EA8500-squashfs-sysupgrade.tar
-rw-r--r-- 1 root root 4823040 Oct 10 09:38 lede-ipq806x-EA8500-squashfs-sysupgrade.tar
root at lede:~# ubinfo -a
UBI version: 1
Count of UBI devices: 1
UBI control device major/minor: 10:59
Present UBI devices: ubi0
ubi0
Volumes count: 2
Logical eraseblock size: 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks: 296 (37584896 bytes, 35.8 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes 128
Count of bad physical eraseblocks: 0
Count of reserved physical eraseblocks: 20
Current maximum erase counter value: 2
Minimum input/output unit size: 2048 bytes
Character device major/minor: 249:0
Present volumes: 0, 1
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 28 LEBs (3555328 bytes, 3.4 MiB)
State: OK
Name: rootfs
Character device major/minor: 249:1
-----------------------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 244 LEBs (30982144 bytes, 29.5 MiB)
State: OK
Name: rootfs_data
Character device major/minor: 249:2
root at lede:/tmp# sysupgrade -v lede-ipq806x-EA8500-squashfs-sysupgrade.tar
Saving config files...
etc/apache/httpd.conf
etc/config/dhcp
etc/config/dropbear
etc/config/firewall
etc/config/fstab
etc/config/luci
etc/config/network
etc/config/rpcd
etc/config/samba
etc/config/system
etc/config/ubootenv
etc/config/ucitrack
etc/config/uhttpd
etc/config/vnstat
etc/config/wireless
etc/crontabs/root
etc/dropbear/dropbear_rsa_host_key
etc/fw_env.config
etc/group
etc/hosts
etc/inittab
etc/luci-uploads/.placeholder
etc/opkg/keys/72a57f2191b211e0
etc/opkg/keys/9ef4694208102c43
etc/opkg/keys/b5043e70f9a75cde
etc/opkg/keys/c28e2b5619e87146
etc/opkg/keys/dace9d4df16896bf
etc/opkg/keys/dd6de0d06bbd3d85
etc/passwd
etc/profile
etc/rc.local
etc/samba/smbpasswd
etc/shadow
etc/shells
etc/sysctl.conf
etc/sysctl.d/local.conf
cp: can't create '/tmp/syscfg/sysupgrade.tgz': No such file or directory
cp: can't create '/tmp/syscfg/sysupgrade.tgz': No such file or directory
Sending TERM to remaining processes ... rpcd uhttpd ubusd askfirst logd netifd odhcpd crond smbd nmbd ntpd dnsmasq vnstatd
Sending KILL to remaining processes ... askfirst
Switching to ramdisk...
Performing system upgrade...
Unlocking kernel1 ...
Writing from to kernel1 ...
UBI device number 1, total 296 LEBs (37584896 bytes, 35.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
ubimkvol: error!: UBI device does not have free logical eraseblocks
cannot create rootfs volume
libubi: error!: "/dev/" is not a character device
ubiupdatevol: error!: error while probing "/dev/"
error 22 (Invalid argument)
mount: mounting /dev/ on /tmp/new_root failed: Invalid argument
mounting ubifs failed
sysupgrade successful
umount: can't unmount /dev/pts: Resource busy
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=203#comment608
More information about the lede-bugs
mailing list