AnsweredAssumed Answered

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes

Question asked by Hyun-mo Yang on Sep 15, 2014
Latest reply on Dec 26, 2016 by Biyong Sun

when i mount the library like libfont.img that is for UBI file format, there is mount error as below,

==================

root@freescale /$ mount -t ubifs ubi1:libfont_vol /mnt

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:4096, read 126976 bytes

UBIFS error (pid 2754): ubifs_recover_master_node: failed to recover master node

mount: mounting ubi1:libfont_vol on /mnt failed: Invalid argument

==================

bootargs : bootargs=noinitrd console=ttymxc3,115200n8 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rootwait rw mtdparts=gpmi-nand:16m(boot),16m(kernel),128m(rootfs),32m(libfont),-(user)

NAND flash : Spansion S34ML08G1

 

==================

root@freescale /$ ubiattach /dev/ubi_ctrl -m 3

UBI: attaching mtd3 to ubi1

UBI: physical eraseblock size:   131072 bytes (128 KiB)

UBI: logical eraseblock size:    126976 bytes

UBI: smallest flash I/O unit:    2048

UBI: VID header offset:          2048 (aligned 2048)

UBI: data offset:                4096

UBI: max. sequence number:       3

UBI: attached mtd3 to ubi1

UBI: MTD device name:            "libfont"

UBI: MTD device size:            32 MiB

UBI: number of good PEBs:        256

UBI: number of bad PEBs:         0

UBI: number of corrupted PEBs:   0

UBI: max. allowed volumes:       128

UBI: wear-leveling threshold:    4096

UBI: number of internal volumes: 1

UBI: number of user volumes:     1

UBI: available PEBs:             0

UBI: total number of reserved PEBs: 256

UBI: number of PEBs reserved for bad PEB handling: 2

UBI: max/mean erase counter: 1/0

UBI: image sequence number:  0

UBI: background thread "ubi_bgt1d" started, PID 2751

root@freescale /$ mount -t ubifs ubi1:libfont_vol /mnt

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:4096, read 126976 bytes

UBIFS error (pid 2754): ubifs_recover_master_node: failed to recover master node

mount: mounting ubi1:libfont_vol on /mnt failed: Invalid argument

=========================

Please help me to resolve this issue.

Regards

HM

Outcomes