AnsweredAssumed Answered

UBIFS ReadOnly FS

Question asked by velayutha perumal on Feb 18, 2020
Latest reply on Feb 20, 2020 by igorpadykov

We are using iMx6ULL in our design with Toshiba NAND. When run my application more than a day , i m getting below errors,

UBIFS error (ubi0:0 pid 22611): ubifs_scan: corrupt empty space at LEB 1565:81920
UBIFS error (ubi0:0 pid 22611): ubifs_scanned_corruption: corruption at LEB 1565:81920
[2020-02-15 21:56:27] UBIFS error (ubi0:0 pid 22611): ubifs_scanned_corruption: first 8192 bytes from LEB 1565:81920
[2020-02-15 21:56:27] UBIFS error (ubi0:0 pid 22611): ubifs_scan: LEB 1565 scanning failed
[2020-02-15 21:56:27] UBIFS error (ubi0:0 pid 22611): do_commit: commit failed, error -117
[2020-02-15 21:56:27] UBIFS warning (ubi0:0 pid 22611): ubifs_ro_mode: switched to read-only mode, error -117
[2020-02-15 21:56:27] CPU: 0 PID: 22611 Comm: sync Not tainted 4.1.15 #1
[2020-02-15 21:56:27] Hardware name: Freescale i.MX6 UL/ULL (Device Tree)
[2020-02-15 21:56:27] Function entered at [<80015a78>] from [<80012658>]
[2020-02-15 21:56:27] Function entered at [<80012658>] from [<8067b558>]
[2020-02-15 21:56:27] Function entered at [<8067b558>] from [<80226e04>]
[2020-02-15 21:56:27] Function entered at [<80226e04>] from [<802173b4>]
[2020-02-15 21:56:27] Function entered at [<802173b4>] from [<800eb5c0>]
[2020-02-15 21:56:27] Function entered at [<800eb5c0>] from [<801110dc>]
[2020-02-15 21:56:27] Function entered at [<801110dc>] from [<8000f400>]

I/O error : Read-only file system

May i know what could be the reason for above issue and is there any fix for this?

Note : This application will read sensor data, gps data, CAN data and also file read/write operation to some text file. which is of less size.

When i checked in google, the bit corruption due to other reasons may not be handled properly. So what can be done for this?

Outcomes