Received: from [81.3.11.18] (helo=mail.ku-gbr.de) by canuck.infradead.org with esmtps (Exim 4.54 #1 (Red Hat Linux)) id 1EPmw0-00047H-K6 for linux-mtd@lists.infradead.org; Wed, 12 Oct 2005 16:11:01 -0400 Date: Wed, 12 Oct 2005 22:11:50 +0200 Message-ID: <87mzlexzp5.wl%konsti@ku-gbr.de> From: Konstantin Kletschke To: Nicolas Pitre In-Reply-To: References: <87slv6vgt2.wl%kletschke@synertronixx.de> <87r7aqvf4s.wl%kletschke@synertronixx.de> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: linux-mtd@lists.infradead.org Subject: Re: XIP issues introduced between 2.6.12 and 2.6.13 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , At Wed, 12 Oct 2005 13:47:01 -0400 (EDT), Nicolas Pitre 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: http://lists.infradead.org/pipermail/linux-mtd/2005-October/014005.html 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? Yes. > 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. Konsti -- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF