Lots of [E][vfs_api.cpp:105] open(): <path> does not exist, no permits for creation in USB serial log, and intermittent map tile load failures. #357

Open
opened 2026-10-27 15:50:39 +01:00 by adam · 4 comments
Owner

Version v0.9.14 on T-Deck Plus:

USB serial log shows a lot of messages like
[E][vfs_api.cpp:105] open(): <path> does not exist, no permits for creation,
although (immediate) usage of the firmware seems not to be affected.
Affects both /spiffs and /sd.

Also, there are random failures to open map tiles (which are already present, and eventually get loaded), like
[E][vfs_api.cpp:301] VFSFileImpl(): fopen(/sd/tiles/10/550/341.png) failed
followed by
[E][sd_diskio.cpp:624] ff_sd_status(): Check status failed.,
which actually results in the tiles staying blank in the map view for some time.

Examples:

[2265201][E][vfs_api.cpp:105] open(): /spiffs/clipboard.txt.tmp does not exist, no permits for creation

[2265228][E][vfs_api.cpp:105] open(): /spiffs/clipboard.txt.bak does not exist, no permits for creation
[  2969][E][vfs_api.cpp:105] open(): /sd/MCTerm/primary_state_v2/identity_main.bin does not exist, no permits for creation
[  3576][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation
[  3894][E][vfs_api.cpp:105] open(): /sd/MCTerm/primary_state_v2/contacts3.bin does not exist, no permits for creation
[  8152][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation
[820040][E][vfs_api.cpp:105] open(): /spiffs/state_v2/bl/DF3DA83A64A111F1 does not exist, no permits for creation
[1251652][E][vfs_api.cpp:105] open(): /spiffs/state_v2/bl/BE252B[CONTACT_OP] delete key=54<CENSORED> immediate=1 async_save=1 before=250 after=249
36F36E22E9 does not exist, no permits for creation
[1943933][E][vfs_api.cpp:105] open(): /sd/MCTerm/mesh_prefs.txt does not exist, no permits for creation

[1944099][E][vfs_api.cpp:105] open(): /sd/MCTerm/lockscreen.png does not exist, no permits for creation

(<CENSORED> is a replacement I have made.)

There are many other examples with other types of paths emitting similar error messages.

Also, there are random failures to open map tiles (which are already present, and eventually get loaded):

[1833242][E][vfs_api.cpp:301] VFSFileImpl(): fopen(/sd/tiles/10/550/341.png) failed

[1833974][E][sd_diskio.cpp:624] ff_sd_status(): Check status failed

Regards!

Version v0.9.14 on T-Deck Plus: USB serial log shows a lot of messages like `[E][vfs_api.cpp:105] open(): <path> does not exist, no permits for creation`, although (immediate) usage of the firmware seems not to be affected. Affects both `/spiffs` and `/sd`. Also, there are random failures to open map tiles (which are already present, and eventually get loaded), like `[E][vfs_api.cpp:301] VFSFileImpl(): fopen(/sd/tiles/10/550/341.png) failed` followed by `[E][sd_diskio.cpp:624] ff_sd_status(): Check status failed.`, which actually results in the tiles staying blank in the map view for some time. Examples: ``` [2265201][E][vfs_api.cpp:105] open(): /spiffs/clipboard.txt.tmp does not exist, no permits for creation [2265228][E][vfs_api.cpp:105] open(): /spiffs/clipboard.txt.bak does not exist, no permits for creation ``` ``` [ 2969][E][vfs_api.cpp:105] open(): /sd/MCTerm/primary_state_v2/identity_main.bin does not exist, no permits for creation ``` ``` [ 3576][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation ``` ``` [ 3894][E][vfs_api.cpp:105] open(): /sd/MCTerm/primary_state_v2/contacts3.bin does not exist, no permits for creation ``` ``` [ 8152][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation ``` ``` [820040][E][vfs_api.cpp:105] open(): /spiffs/state_v2/bl/DF3DA83A64A111F1 does not exist, no permits for creation ``` ``` [1251652][E][vfs_api.cpp:105] open(): /spiffs/state_v2/bl/BE252B[CONTACT_OP] delete key=54<CENSORED> immediate=1 async_save=1 before=250 after=249 36F36E22E9 does not exist, no permits for creation ``` ``` [1943933][E][vfs_api.cpp:105] open(): /sd/MCTerm/mesh_prefs.txt does not exist, no permits for creation [1944099][E][vfs_api.cpp:105] open(): /sd/MCTerm/lockscreen.png does not exist, no permits for creation ``` (`<CENSORED>` is a replacement I have made.) There are many other examples with other types of paths emitting similar error messages. Also, there are random failures to open map tiles (which are already present, and eventually get loaded): ``` [1833242][E][vfs_api.cpp:301] VFSFileImpl(): fopen(/sd/tiles/10/550/341.png) failed [1833974][E][sd_diskio.cpp:624] ff_sd_status(): Check status failed ``` Regards! <!-- github-sync-id:5762159756 -->
Author
Owner
  • #348 and #343 seem to be related (when one of it is happening, also the other one).
  • The map tile error part of #357 might be related to #348 and #343 -- actually, vieweing the map reliably triggers #348 and #343.
  • I don't know if #355 is related to #348 or #343.
* #348 and #343 seem to be related (when one of it is happening, also the other one). * The map tile error part of #357 might be related to #348 and #343 -- actually, vieweing the map reliably triggers #348 and #343. * I don't know if #355 is related to #348 or #343. <!-- github-comment-id:6061603564 -->
Author
Owner

Can the SD card issues and this issue in WadaMesh be somehow related -- here that the SD card is driven too fast in some scenarios? (Just a very far fetched idea maybe, to not take it for granted.)

Can the SD card issues and [this issue in WadaMesh](https://github.com/ALLFATHER-BV/wadamesh/issues/108#issuecomment-5167973754) be somehow related -- here that the SD card is driven too fast in some scenarios? (Just a very far fetched idea maybe, to not take it for granted.) <!-- github-comment-id:6069235401 -->
Author
Owner

Also switched to "primary disk: Internal" by itself at some point.

Also switched to "primary disk: Internal" by itself at some point. <!-- github-comment-id:6069471742 -->
Author
Owner

More specific error messages emitted during boot, one of them is
E (4218) gpio: gpio_install_isr_service(450): GPIO isr service already installed:

[TDeckPlus] board.begin()

[TDeckPlus] PERIPH_PWR=10 USER_BTN=0
[TDeckPlus] I2C SDA=18 SCL=8
[TDeckPlus] GPS RX=43 TX=44
[TDeckPlus] LoRa NSS=9 DIO1=45 RST=17 BUSY=13
[BOOT] LittleFS begin ok=1 formatOnFail=1 total=3456KB used=72KB free=3384KB
[  2309][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation

[  3554][E][vfs_api.cpp:105] open(): /spiffs/identity/_main.id does not exist, no permits for creation

[IDCAT] removed empty legacy primary_state

[  4201][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation

[IDCAT] selected id_store=1 prefs_src=1
[  4566][E][vfs_api.cpp:105] open(): /spiffs/state_v2/contacts3 does not exist, no permits for creation

[  4576][E][vfs_api.cpp:105] open(): /spiffs/contacts3 does not exist, no permits for creation

[PROFILE] resolve done sd_primary=1 select_pending=0 catalog=1
[  4672][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation

[BOOT] SD-primary ready attempt=1
E (4218) gpio: gpio_install_isr_service(450): GPIO isr service already installed

[CONTACT_LOAD] source=/contacts3 total=250 primary=SD
[CHANNEL_LOAD] source=/channels2 total=8 primary=SD
[MESH_LOAD] contacts=250 channels=8 sd_primary=1 degraded=0
[SENSOR_DISCOVERY] Found ESP32
[  8400][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation

[TILE] boot-quota ok used=43% cap=70%

Regards!

More specific error messages emitted during boot, one of them is `E (4218) gpio: gpio_install_isr_service(450): GPIO isr service already installed`: ``` [TDeckPlus] board.begin() [TDeckPlus] PERIPH_PWR=10 USER_BTN=0 [TDeckPlus] I2C SDA=18 SCL=8 [TDeckPlus] GPS RX=43 TX=44 [TDeckPlus] LoRa NSS=9 DIO1=45 RST=17 BUSY=13 [BOOT] LittleFS begin ok=1 formatOnFail=1 total=3456KB used=72KB free=3384KB [ 2309][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation [ 3554][E][vfs_api.cpp:105] open(): /spiffs/identity/_main.id does not exist, no permits for creation [IDCAT] removed empty legacy primary_state [ 4201][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation [IDCAT] selected id_store=1 prefs_src=1 [ 4566][E][vfs_api.cpp:105] open(): /spiffs/state_v2/contacts3 does not exist, no permits for creation [ 4576][E][vfs_api.cpp:105] open(): /spiffs/contacts3 does not exist, no permits for creation [PROFILE] resolve done sd_primary=1 select_pending=0 catalog=1 [ 4672][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation [BOOT] SD-primary ready attempt=1 E (4218) gpio: gpio_install_isr_service(450): GPIO isr service already installed [CONTACT_LOAD] source=/contacts3 total=250 primary=SD [CHANNEL_LOAD] source=/channels2 total=8 primary=SD [MESH_LOAD] contacts=250 channels=8 sd_primary=1 degraded=0 [SENSOR_DISCOVERY] Found ESP32 [ 8400][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation [TILE] boot-quota ok used=43% cap=70% ``` Regards! <!-- github-comment-id:6361141780 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshcore#357