Re: mtd utilities work but ubi utilities do not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard, 

It could be the case that it is a problem with partial page/reads writes in the driver. Is there a quick way to completely disable this and see? I have already tried setting the VID offset in ubiattach but I get the same error described before.

If there is not a way to quickly disable partial page reads/writes how do you recommend that I troubleshoot this?

Respectfully,
Matt Schepers

________________________________________
From: Richard Weinberger <richard.weinberger@xxxxxxxxx>
Sent: Thursday, February 14, 2019 12:31 AM
To: Matt Schepers
Cc: David Oberhollenzer; linux-mtd@xxxxxxxxxxxxxxxxxxx
Subject: Re: mtd utilities work but ubi utilities do not?

On Thu, Feb 14, 2019 at 4:09 AM Matt Schepers <mschepers@xxxxxxxxxxxxxxx> wrote:
>
> David, thank you for that information. However the following sequence of commands produces an uncorrectable ECC error where I think it shouldn't:
>
> command sequence:
> flash_erase /dev/mtd7 0 2048
> ubiattach -p /dev/mtd7
> ubidetach -p /dev/mtd7
> ubiattach -p /dev/mtd7
>
> dmesg:
> [  362.807750] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 2044:0, read only 64 bytes, retry
> [  362.808328] __nand_correct_data: uncorrectable ECC error

Looks more like your NAND driver is buggy.
Maybe subpage support.

--
Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux