Settings screen frozen, USB log emits continuously [E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed. #344

Open
opened 2026-10-27 15:50:21 +01:00 by adam · 1 comment
Owner

After quickly doing some stuff in the Mgmt screen, it is now stuck, and USB serial continuosly emits

[...]
[149328][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[150274][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[151410][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[152256][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[154192][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[156237][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[...]

Need to power cycle to make the device usable again.

v0.9.14, T-Deck Plus.

After quickly doing some stuff in the `Mgmt` screen, it is now stuck, and USB serial continuosly emits ``` [...] [149328][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [150274][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [151410][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [152256][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [154192][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [156237][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [...] ``` Need to power cycle to make the device usable again. v0.9.14, T-Deck Plus. <!-- github-sync-id:5752796186 -->
Author
Owner

Now I have it again, some more details:

  • I was browsing the map before. Some tiles (as usual) do not load on first try.
  • I was enabling WiFi, to download more detailed map tiles in other regions.
  • Then it happend that the UI froze.

After some time, the UI was usable with long lags between each small update.

Between each UI update (e.g. scrolling the channel list up by a few pixeld) a line like

[26686924][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

is emitted.

To get some idea about the frequency, here a few log lines (timestamps can give idea about frequency):

[...]
[26683293][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[26684541][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[26685876][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[26686924][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed

[...]
Now I have it again, some more details: * I was browsing the map before. Some tiles (as usual) do not load on first try. * I was enabling WiFi, to download more detailed map tiles in other regions. * Then it happend that the UI froze. After some time, the UI was usable with long lags between each small update. Between each UI update (e.g. scrolling the channel list up by a few pixeld) a line like ``` [26686924][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed ``` is emitted. To get some idea about the frequency, here a few log lines (timestamps can give idea about frequency): ``` [...] [26683293][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [26684541][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [26685876][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [26686924][E][vfs_api.cpp:332] VFSFileImpl(): fopen(/sd/MCTerm/prefs.txt.tmp) failed [...] ``` <!-- github-comment-id:6219767840 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshcore#344