Re: UBI/UBFS: ubi_eba_read_leb() reporting unmapped LEB

Steve B
2014-10-20T13:52:39Z

Hi Artem,

Thanks for the reply.

I have the kernel built with:
CONFIG_MTD_UBI_DEBUG=y
CONFIG_UBIFS_FS=y

The failure was seen on an embedded device, I dumped the flash
contents (raw format) and then re-constructed the image on my Linux PC
using nandsim with UBI and UBIFS modules i've built with some extra debugging.
The call stack in the log posted is the same as the one seen on the device
that showed the original problem.

Thanks,
Steve

On Mon, 20 Oct 2014, Artem Bityutskiy wrote:

> On Fri, 2014-10-10 at 14:45 +0100, Steve B wrote:
>> Our test setup has the facility of pulling the power on the unit if a GPIO line
>> is toggled, with this we can test sensitive areas of the code, can anyone suggest
>> where would be a good place to perform this action.
>
> Did you perform testing with UBI/UBIFS debug messages on? Or the
> messages in this e-mail were enable after the corruption happened?
>
> Artem.
>
>