2013/8/9, José Vázquez <ppvazquez...@gmail.com>:
> 2013/8/4, José Vázquez <ppvazquez...@gmail.com>:
> Finally, my colleague and me tested trunk r37737 enabling FPU
> emulation and switching to kernel 3.10.4 and now we haven't noticed
> nothing strange with jffs2.
> Jonas Gorski told us that would be a good idea make a compilation with
> GCC 4.8-linaro and the results were the same: all works fine.
> To summarize: the issue in jffs2 caused a rename in files which were
> edited or created once the router was rebooted or powercycled, and
> only with bcm6368 SoCs (we haven't boards with bcm6362) and
> CONFIG_MIPS_FPU_EMU=y selected in the kernel.
>
> A lot of thanks to the OpenWRT team for their advices, because without
> them we would still fighting with this issue.
>
> Best regards:
>
> José Vázquez

Still we have problems with rootfs_data partition if some openwrt and
kernel options are changed or added.
Because nobody answered i decided to blind shooting after reading all
the info i've could find. Also applied Florian's and Jonas' patches
published in linux-mips patchwork without success, so step back to
trunk r36529 and now can make all the changes without concern.
These are the revisions i've tested:
- https://github.com/Pteridium/openwrt/tree/bcm63xx-r37180: a lot of
problems with renamed files.
- trunk r37745: a bit more stable, but if i do modifications in the
kernel config the previous problems appear.
- https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529: perfect.
Tested with and without procd as init process due to obvious reasons.

Little description of the issue using trunk r37745:
The test configuration is:
BCM63xx SMP
GCC 4.6-linaro.
uClibc
Additional cflag: -mno-synci
Little changes in the kernel configuration.

- Filenames after fresh flash.

root@OpenWrt:/# ls /etc/config
6relayd   dhcp      firewall  luci      system    uhttpd
ddns      dropbear  fstab     network   ucitrack  wireless

- First reboot.

root@OpenWrt:/# ls /etc/config
6relayd   ddns      dropbear  firewall  luci      system    ucitrack  wireless
cpcp      dhcp      eleld?d   fstab     nsns      twtwork   uhttpd
root@OpenWrt:/# ls overlay/etc/config
cpcp      eleld?d   fstab     nsns      twtwork   uhttpd
dropbear  firewall  luci      system    ucitrack  wireless

- Second reboot.

root@OpenWrt:/# ls /etc/config
6relayd   droparar  firewall  luci      ttttpd    uhttpd
ddns      dropbear  fstab     nsns      twtwork   wireless
dhcp      elelayd   ititrack  system    ucitrack  wiressss
root@OpenWrt:/# ls /overlay/etc/config
dhcp      elelayd   fstab     luci      system    twtwork   wiressss
droparar  firewall  ititrack  nsns      ttttpd    wireless

- Third reboot.

root@OpenWrt:/# ls /etc/config
6relayd   dhcp      firewall  luci      system    uhttpd
cici      dropbear  fstab     nsns      twtwork   wireless
ddns      elelayd   ititckck  ststem    ucitrack
root@OpenWrt:/# ls overlay/etc/config
cici      dropbear  firewall  ititckck  ststem    uhttpd
dhcp      elelayd   fstab     nsns      twtwork   wireless

-Fourth reboot (this time is a powercycle).

root@OpenWrt:/# ls /etc/config
6relayd   ddns      elelayd   luci      ttttpd    uhttpd
cici      dhcp      firewall  network   ucitckck  wireless
cpcp      dropbear  fstab     system    ucitrack
root@OpenWrt:/# ls /overlay/etc/config
cici      ddns      elelayd   fstab     system    ucitckck
cpcp      dropbear  firewall  network   ttttpd    wireless

- Fifth reboot.

root@OpenWrt:/# ls /etc/config
6relayd   ddns      elelayd   luci      ttttpd    uhttpd
cici      dhcp      firewall  rerellll  twtwork   wireless
cpcp      dropbear  fstab     system    ucitrack
root@OpenWrt:/# ls /overlay/etc/config
cici      ddns      elelayd   rerellll  ttttpd    ucitrack
cpcp      dropbear  fstab     system    twtwork   wireless

- Sixth reboot.

root@OpenWrt:/# ls /etc/config
6relayd   dhcp      eleld?d   network   system    uhttpd
cici      droparar  firewall  nsns      tatab     wireless
ddns      dropbear  luci      rereless  ucitrack
root@OpenWrt:/# ls /overlay/etc/config
cici      droparar  firewall  nsns      system    ucitrack  wireless
dhcp      eleld?d   network   rereless  tatab     uhttpd

- Seventh reboot.

root@OpenWrt:/# ls /etc/config
6relayd   dhcp      firewall  luci      reressss  ucitckck  uhttpd
ddns      dropbear  fstab     network   system    ucitrack  wireless
root@OpenWrt:/# ls /overlay/etc/config
6relayd   dhcp      firewall  luci      reressss  ucitckck  wireless
ddns      dropbear  fstab     network   system    uhttpd

- Eighth reboot.

root@OpenWrt:/# ls /etc/config
6relayd   dropbear  ititckck  nsns      system    uhttpd
ddns      firellll  luci      opopbear  tatab     wireless
dhcp      firewall  network   ststem    ucitrack
root@OpenWrt:/# ls /overlay/etc/config
6relayd   firellll  luci      nsns      ststem    uhttpd
dhcp      ititckck  network   opopbear  tatab     wireless

Note: the content of the files remain unchanged despite the rename.

I ask for your help because i have tried all that could find and
failed miserably. The possible source of this issue (as far i know):
- My fault.
- Host PC or linux distro.
- procd and related stuff? Surely they work in other SMP cpus.
- new BMIPS code? with bcm6358 the mentioned issue haven't appeared.
Someone published that was very difficult the development for SMP
support.
- Silicon errata: the SoC in the VR-3025un is bcm6368 rev. b2 with
BMIPS4350 V3.1 core.

Please, could someone tell any advice to find what is happening?

José Vázquez
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to