-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFFS issue after many writes by btsettings #9748
Comments
Nothing comes to mind, unfortunately. It is worth pointing out however that pretty much all testing I've done with settings has been with the FCB backend and not NFFS. |
Thank for report. I'm off work till 10.IX. This might be manifestation of bug either in NFFS (not confirmed #9749) or during the settings destination file compression. |
@bixivs is this with current Zephyr master? |
@carlescufi @nvlsianpu
then I issue some onoff messages
I reset the device and everithing works fine the settings are correctly reloaded and I can reconnect to it using the meshctl.
|
@bixivs Is it possible that you will provide content of nffs partition (flash adresses <0x0007a000 0x00006000) )which cause the failure (as a RAW binary file or InteHex)? |
@nvlsianpu Sure, on the attached zip you can find two files. The "stillworking" is the content of the storage partition before the fault and the "failing" after the fault |
@bixivs I'm able to reproduce failure you encountered. So far it fails for your peculiar NFFS configuration (with the default one it's not failing) - I will experiment with configuration a little and give you know. |
I have some data which points what happeneed. For failing nffs partition (you sent), during NFFS initialization, NFFS attempt to alocate 108 data-block in pick (it end up with 14). |
apache/mynewt-nffs#10 |
any update on this? |
Jullabs declare to work on fixing this in near future (in a month probably) - This bug is very tough one, so even if they start today it need few week to be to fixed. |
NFFS support was removed #21793. |
Hello
I have encountered an issue using the bluetooth settings storage on an nffs partition of the flash of an nrf52832.
After many writes of the setting file the device hangs at boot trying to mount the nffs partition with the following message
the crash seems to happen at the instruction:
line 462 of the fs.c.
I replicated the same issue with a slightly modified mesh example you can find here:
http://dropbox.cblelectronics.com/6a0d2aa14337
and another board that act as a switch (configured as a generic onoff client).
The switch publish the onoff status of the client on the the same group address the onoff server are subscribed on.
After many onoff messages, If I reboot the server node, it gives the error.
I have never verified how many messages are needed to trigger the issue but 50 or more are enough.
The server node is configured to update the saved SEQ and RPL at every message.
Thanks
Daniele
The text was updated successfully, but these errors were encountered: