Re: [Yaffs] [PATCH] make yaffs2 work with 2.6.17+ kernels

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jonathan McDowell
Date:  
To: yaffs
Subject: Re: [Yaffs] [PATCH] make yaffs2 work with 2.6.17+ kernels
On Wed, Sep 06, 2006 at 11:13:02PM +0400, Vitaly Wool wrote:
> please find the update of the patch that makes yaffs2 work with
> 2.6.17+ kernels attached.
>
> Special attention has been paid now to retain backward compatibility.
> Please try thins patch if you have some time and report any problems
> you'll find.


Should I expect this to work on filesystem that works fine on 2.6.16.5
(in particular 2.6.16.5-tcl1 on a Balloon2)? I have no problem booting
this kernel on the board, but a 2.6.18-rc5 kernel with latest YAFFS CVS
and your patch gives the following errors:

yaffs: dev is 32505860 name is "mtdblock4"
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
block 2 is bad
(lots more "block <n> is bad" messages up to 309)
yaffs tragedy: existing chunk < 0 in scan
(repeats)

It's possible the problem is NAND driver related, as that has obviously
changed between 2.6.16.5 and 2.6.18-rc5, but I was wondering if this is
expected to work before I go chasing down the wrong route.

J.

-- 
] http://www.earth.li/~noodles/ []   Beware of programmers carrying    [
]  PGP/GPG Key @ the.earth.li   []            screwdrivers.            [
] via keyserver, web or email.  []                                     [
] RSA: 4DC4E7FD / DSA: 5B430367 []                                     [