UBI error: nor_erase_prepare: cannot invalidate PEB 76, write returned -5 read returned 2
Hello,
I'm observing the given error after starting Linux. ubiattach is called from within the init-script. Currently I'm running v2.6.34. The filesystem is mounted read-only as expected.
It gets curious that afterwards in u-boot the corresponding sector is complety empty, read 0xff. It seems the sector cannot be written, although it is empty. Has anybody an idea about such phenomenon? Oh, before it forget, I use a Numonyx Axcell M29EW NOR-Flash 128MiB.
Best regards
Alexander
Hi Alexander,
I am seeing the same behavior with a 512 MiB Numonyx M29EW (PC28F512M29EWH). Did you manage to get to the root of this problem?
Regards,
Pieter
Quoted 9 lines · Alexander Stein
Hello,
I'm observing the given error after starting Linux. ubiattach is called from within the init-script. Currently I'm running v2.6.34. The filesystem is mounted read-only as expected.
It gets curious that afterwards in u-boot the corresponding sector is complety empty, read0xff. It seems the sector cannot be written, although it is empty. Has anybody an idea about such phenomenon? Oh, before it forget, I use a Numonyx Axcell M29EW NOR-Flash 128MiB.
Sorry guys, cannot help, but if you happen to find the root-cause and fix it - patches are welcome :)
Signature · 2 lines
Best Regards, Artem Bityutskiy