Fail to mount ubifs

Jon Ringle jon at ringle.org
Wed Jan 13 09:20:01 EST 2010


On Wed, Jan 13, 2010 at 3:06 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Wed, 2010-01-13 at 09:55 +0200, Artem Bityutskiy wrote:
>> On Wed, 2010-01-13 at 02:03 -0500, Jon Ringle wrote:
>> > Looking into drivers/mtd/maps/ixp4xx.c I see that the read function is
>> > ixp4xx_read16(). It seems to me that there is an alignment problem.
>> > The read starts at offset 545 which in unaligned with a 16-bit read
>> > that is done by ixp4xx_read16().
>>
>> Yeah, most probably. Too bad we do not have a test for this. Care to
>> extend MTD tests?
>
> I mean, add an 'mtd_align', and verify reading from various unaligned
> addresses. This will help you to verify your flash, and help the
> community as well.

I fixed the issue in the ixp4xx map driver. I will look into creating
a mtd_aligntest as time permits.

Jon



More information about the linux-mtd mailing list