IMX6Solo GPMI NAND driver in L4.1.15 UBIFS error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Solo GPMI NAND driver in L4.1.15 UBIFS error

Jump to solution
876 Views
trinhkhai
Contributor II

Hello,

We are using L4.1.15 as reference for our custom board linux.

After 2-3 days of power-cut aging test, the UBIFS error occurs and system hangs up at boot.

 

UBIFS error (ubi0:0 pid 1): replay_log_leb: bad sqnum 257093, commit sqnum 257458
UBIFS error (ubi0:0 pid 1): replay_log_leb: log error detected while replaying the log at LEB 4:8192
magic 0x6101831
crc 0xd0add78a
node_type 7 (master node)
group_type 0 (no node group)
sqnum 257093
len 512
highest_inum 9710
commit number 56
flags 0x3
log_lnum 5
root_lnum 422
root_offs 34984
root_len 68
gc_lnum 12
ihead_lnum 422
ihead_offs 40960
index_size 5494512
lpt_lnum 6
lpt_offs 475355
nhead_lnum 6
nhead_offs 483328
ltab_lnum 6
ltab_offs 475136
lsave_lnum 0
lsave_offs 0
lscan_lnum 422
leb_cnt 3916
empty_lebs 3494
idx_lebs 7
total_free 3607789568
total_dirty 5851224
total_used 412606648
total_dead 662920
total_dark 28729256
List of all partitions:
0100 65536 ram0 (driver?)
0101 65536 ram1 (driver?)
0102 65536 ram2 (driver?)
0103 65536 ram3 (driver?)
0104 65536 ram4 (driver?)
0105 65536 ram5 (driver?)
0106 65536 ram6 (driver?)
0107 65536 ram7 (driver?)
0108 65536 ram8 (driver?)
0109 65536 ram9 (driver?)
010a 65536 ram10 (driver?)
010b 65536 ram11 (driver?)
010c 65536 ram12 (driver?)
010d 65536 ram13 (driver?)
010e 65536 ram14 (driver?)
010f 65536 ram15 (driver?)
1f00 65536 mtdblock0 (driver?)
1f01 16384 mtdblock1 (driver?)
1f02 16384 mtdblock2 (driver?)
1f03 4096000 mtdblock3 (driver?)
No filesystem could mount root, tried: ubifs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

 

After upgrade nand driver to 4.9.123 the problem seems to be suppressed.

What is the root cause of the error? Is upgrading kernel/driver the only way to solve this issue?

Labels (3)
0 Kudos
1 Solution
873 Views
igorpadykov
NXP Employee
NXP Employee

Hi TRINH

 

for that problem one can refer to discussions on linux-mtd mail list, yes seems upgrading

kernel/driver is only way to solve this issue:

https://linux-mtd.infradead.narkive.com/sGAE30Yd/ubifs-corruption-after-power-cut-possibly-unstable-...

 

Best regards
igor

View solution in original post

0 Kudos
1 Reply
874 Views
igorpadykov
NXP Employee
NXP Employee

Hi TRINH

 

for that problem one can refer to discussions on linux-mtd mail list, yes seems upgrading

kernel/driver is only way to solve this issue:

https://linux-mtd.infradead.narkive.com/sGAE30Yd/ubifs-corruption-after-power-cut-possibly-unstable-...

 

Best regards
igor

0 Kudos