> cause is, but what I have seen is that the mtd utility
> needs to retry sometimes, and that [e] condition
> is a temporary "Out of memory" error.  At least, on ar71xx.

out of memory doesnt satisfy me.

on our boxes we remove all (!) running
programs and unload all (!) kernel-modules
before invoking sysupgrade. we have
about 25 megabytes of free memory
just before sysupgrading...

[some mtd-code snippet]

> I have seen this fail once, twice, and then still succeed.  But
> this
> doesn't solve the root cause, and I think I'm still seeing
> complete
> failures here on occasion.  This just significantly mitigates it.

the question is: what to do to handle such an
error. reboot doesnt help: maybe open telnet/dropbear
and fire a failsafe-like mode with 192.168.1.1?

but retrying X times is better than nothing...

bye, bastian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to