XIP issues introduced between 2.6.12 and 2.6.13

Konstantin Kletschke lists at ku-gbr.de
Wed Oct 12 16:11:50 EDT 2005

At Wed, 12 Oct 2005 13:47:01 -0400 (EDT),
Nicolas Pitre <nico at cam.org> wrote:

> > NFS used in both cases as root file system.
> What both cases?

Yes, to clear out a concrete difference.

When I use jffs2 as the root fs I can only build it into the kernel
image and debugging is plain guessing. As a side note I will explain
the behaviour build in and / on jffs2: It crashes most often after
"Initializing random number generator" Which is one of the first
points the userspace is "stressed". Sometimes here:

In the other half of boots at another random place.

> Does it crash when JFFS2 is built-in but _not_ used as root?

Yes. I boot with root on nfs:
flash_unlock /dev/mtd3 -> works
mount -t jffs2 /dev/mtdblock3 /mnt -> works
cd /mnt -> works
ls -laR -> works
touch a -> immediate freeze.

> > In both cases built in.
> > Only difference a "jffs2" in lsmod output or not :-)
> If so something is really weird.
> CAn you try with and without CONFIG_JFFS2_FS_WRITEBUFFER?


> Looking at the changelog between v2.6.12 and v2.6.13 for fs/jffs2/ I 
> don't see anything that could obviously explain the above.
> Can you try the 2.6.12 code for JFFS2 in your 2.6.13 kernel?

Also yes.


Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

More information about the linux-mtd mailing list