A problem of porting jffs2 and mtd in kernel 2.4.18

Thomas Gleixner tglx at linutronix.de
Wed Dec 15 04:16:16 EST 2004


On Wed, 2004-12-15 at 17:00 +0800, jianhung at csie.nctu.edu.tw wrote:
>     1. the mount time is too slow, so we try to update the source code in
>        the kernel, but I don\\\'t know the version of jffs2 and mtd in the
>        kernel source code now is, how do I know it ? And I don\\\'t know how
>        to update it, I hope someone can tell me, I would appreciate your
>        kindness.
> 
>     2. If I use ECC function, and some thing wrong happens. After I trace
>        the source code, I find when I write a file, the jffs2 will write to
>        the same nand flash page (although in different position of the same
>        page) without erase first many times . So the ECC position in the
>        spare area will be write many times. It is reasonable when I read
>        this page next time, the ECC value is not equal to the value I
>        writed in the last time. of course the ecc will error, is this a bug
>        of this version in kernel 2.4.18? (if I don\\\'t use ECC function, the
>        subsystem seems ok)

JFFS2 on NAND in 2.4.18 is not working and buggy. 2.4.18 itself is buggy
too.

Read http://www.linux-mtd.infradead.org/#kernelversions

tglx






More information about the linux-mtd mailing list