XIP issues introduced between 2.6.12 and 2.6.13

Nicolas Pitre nico at cam.org
Wed Oct 12 12:52:49 EDT 2005


On Wed, 12 Oct 2005, Konstantin Kletschke wrote:

> 
> Well, as two other guys also I experience Problems getting XIP
> functional on 2.6.13.
> In order to debug this I set up a nfs root to play from there.
> 
> The funny thing I relize now, is the following:
> 
> With jffs2 build into the kernel image the system freezes reproducable
> when touching a file.
> 
> When build and load as a module I can do anything with the mounted
> jffs2 partition, everything works fine.
> 
> Now I am puzzled. The not being a module or being a module is the only
> difference and I testet both situations a dozen of times.
> Another sidenote: I once had an XIP Kernel today running, root over
> nfs and used /dev/mtdblock4 as a swap device with no problems. How
> comes that :) ?

OK....  Let me resume that:

1) you have an XIP kernel

2) if you use NFS everything is fine

3) if you use JFFS2 built as a module everything _appears_ fine

4) if you use JFFS2 built-in it crashes.

Is the above right?

When JFFS2 is modular, are MTD drivers modular as well?


Nicolas




More information about the linux-mtd mailing list