Re: [LEDE-DEV] flash issue

2016-07-23 Thread e9hack
Hi, I did try to find the reason for my problem with jffs2. It seems, it is triggered by deleting /sysupgrade.tgz by /etc/init.d/done. If I remove the rm -f /sysupgrade.tgz line completely and delete the file later, I've no issue. I enabled some debug messages and add a line to /etc/init.d/done

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Am 21.07.2016 um 21:53 schrieb e9hack: >> 2) You should not see the jffs2 "complete build" message twice. It's showing >> 2 different >> process ids also. You need to check what you've added to make this code run >> twice. The >> later error would match the idea of two jffs2 processes. > It seems

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Am 21.07.2016 um 16:33 schrieb Conor O'Gorman: > 1) Your rootfs is quite large compared to standard build. You have presumably > added a lot > of packages. Or there is something messed up. This is ok. I add many things (hostapd with built-in radius, samba, openvpn, collectd, luci, tor, php, mc).

Re: [LEDE-DEV] flash issue

2016-07-21 Thread Conor O'Gorman
1) Your rootfs is quite large compared to standard build. You have presumably added a lot of packages. Or there is something messed up. 2) You should not see the jffs2 "complete build" message twice. It's showing 2 different process ids also. You need to check what you've added to make this co

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Hi, I did flash several different images to my WDR3600 router. In the partition size detection, I don't see any major differences. An image from OpenWRT shows the same error at the first boot, but for some reason it doesn't overwrite files at the second boot. One major difference exist between m

Re: [LEDE-DEV] flash issue

2016-07-21 Thread Conor O'Gorman
0x1985 is a jffs2 magic marker value. Look up the jffs2 code. So it's not a bogus value that might come from a 'bad' flash. More likely is that you have some issue with flash partition sizes, possibly as you have a non-standard flash size anyway. Look carefully at the boot log for the flash par

Re: [LEDE-DEV] flash issue

2016-07-20 Thread e9hack
Am 20.07.2016 um 20:59 schrieb e9hack: > The message comes from the second entry of this message in > linux-4.4.15/fs/jffs2/read.c. That's wrong. The code is located in erase.c in the same directory. Regards, Hartmut ___ Lede-dev mailing list Lede-de

[LEDE-DEV] flash issue

2016-07-20 Thread e9hack
Hi, I've some trouble to update my router. It is a TP-Link WDR3600 with an increased flash (16MB instead of 8MB). If I update the router, I get very often a message after the first reboot like this: [ 62.840041] jffs2: Newly-erased block contained word 0x19852003 at offset 0x If an