Re: jffs2 corrupt rarely, how to fix it?

Artem B. Bityuckiy
2005-06-16T09:28:43Z

On Thu, 2005-06-16 at 17:11 +0800, zhao wrote:
> In fact, we were using JFFS2 on kernel 2.4.10.......
> And we encountered some problems(e.g. jffs2 corrupt rarely), it seems
> that I need to
> back-port JFFS2 in latest 2.4 kernel(2.4.31, right?) to 2.4.10 :( if
> they are not willing
> to upgrade to latest 2.4 kernel in the product.

Well, poor you. :-)

I'm not sure to which kernel you should better port, probably yes, the
latest 2.4, but I consider using old kernels as very bad approach, even
silly in some respects.

Hundreds of bugs were fixed since 2.4.10. VFS also had many bugs, and
the dependency of JFFS2 on VFS is obvious. So, if you meet a problem,
nobody will assist you finding bugs which were already fixed several
years ago. Will you find them yourself? - no problems, but digging such
an old code can't be interesting, it will barely increase your skills or
bring any professional satisfaction. Its much better searching bugs in
modern kernels. That's your choice - I'd better change the employer :-)

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.