Re: [OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-03 Thread Bruno Randolf
On Wednesday 02 June 2010 21:05:46 Jo-Philipp Wich wrote: > Hi. > > I think this is a general mmap() issue in ar71xx, the "nvram" utility had > similar problems - the mmap call will always succeed but sometimes the > mapped memory just contains zeroes. > > You can try the patch below and check wh

Re: [OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-02 Thread Jo-Philipp Wich
Hi. I think this is a general mmap() issue in ar71xx, the "nvram" utility had similar problems - the mmap call will always succeed but sometimes the mapped memory just contains zeroes. You can try the patch below and check whether it improves the reliability. In the case of the "nvram" uitility

[OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-02 Thread Bruno Randolf
hi! on the routerstation-pro the mtd command of the sysupgrade script (ar71xx/base-files/lib/upgrade/platform.sh) sometimes fails because of problems with the FIS table. this sometimes results in a segfault, sometimes in an error message. i see this about every third time i try to flash an ima