So,
I'm trying to use sysupgrade on an x86-system with the mtd_block
driver, and intermittently it fails rather spectacularly to reboot the
machine afterwards:
log from ssh shows:
Switching to ramdisk...
mount: mounting mini_fo:/overlay on /mnt failed: Function not
implemented
Performing system upgrade...
Upgrade completed
Rebooting system...
Segmentation fault
I have this lingering suspicion that it's dying because the overlay
isn't unmounted, so something becomes quite damaged there and the
segfault happens.
cat /proc/cmdline shows:
block2mtd.block2mtd=/dev/sda2,65536,rootfs root=/dev/mtdblock0
rootfstype=squashfs rootwait console=tty0 console=,38400n8 noinitrd
reboot=bios
and it appears the image is written properly, so now my question is, how
do I either work around this, or do I have to change from the
mtd-emulation (that is mostly a convenience to make sure images appear
similar between platforms) and start using squashfs + ext2 or similar?
//D.S.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel