public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBIFS on kernel 2.6.24?
@ 2009-11-23 14:10 David Jander
  2009-11-26  7:23 ` Artem Bityutskiy
  0 siblings, 1 reply; 9+ messages in thread
From: David Jander @ 2009-11-23 14:10 UTC (permalink / raw)
  To: linux-mtd


Hi all,

I am forced to use this ancient kernel (2.6.24), but I also need UBIFS. 
Our boards have 1GiB NAND flash chips with 2k pages.
Until now I have been testing with vanilla MTD/UBI/UBIFS from that kernel, 
and (not entirely unexpected) now errors start to appear, which look like this:

$ cd /etc
$ ls -l
ls: reading directory .: Structure needs cleaning

And the kernel messages look like this:

[10871.725906] UBIFS error (pid 10801): ubifs_check_node: bad magic 0x38f2aa8b, expected 0x6101831
[10871.736785] UBIFS error (pid 10801): ubifs_check_node: bad node at LEB 6259:66568
[10871.745344] UBIFS error (pid 10801): ubifs_read_node: expected node type 2
[10871.753209] UBIFS error (pid 10801): ubifs_readdir: cannot find next direntry, error -117


I did not bother turning on more debug messages yet, since I think I am most probably missing some important bugfixes in my version of 
MTD/UBI/UBIFS. Btw, is there some sort of version number in some file somewhere, so I can check wich version I am actually using?

I am aware of this git repository:
http://git.infradead.org/users/dedekind/ubifs-v2.6.24.git

But I'd like to know how I can get this version into my kernel. Will it work if I just copy the relevant files?
Is there a patch against 2.6.24 that I can download somewhere?
Do I need only UBIFS, or do I also need all of MTD?
I have a custom NAND-flash driver, do I likely need to change it, or should it just work with the new version of MTD?

Thanks for any advice.

Best regards,

-- 
David Jander
Protonic Holland.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-11 11:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 14:10 UBIFS on kernel 2.6.24? David Jander
2009-11-26  7:23 ` Artem Bityutskiy
2009-12-08 16:45   ` David Jander
2009-12-09  8:41     ` Artem Bityutskiy
2009-12-09 10:40       ` David Jander
2009-12-09 10:55         ` Artem Bityutskiy
2009-12-10  9:19           ` David Jander
2009-12-10  9:23             ` Artem Bityutskiy
2009-12-11 11:42             ` Fortini Matteo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox