From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [81.3.11.18] (helo=mail.ku-gbr.de) by canuck.infradead.org with esmtps (Exim 4.42 #1 (Red Hat Linux)) id 1ChUJK-0001lu-PS for linux-mtd@lists.infradead.org; Thu, 23 Dec 2004 09:51:28 -0500 Date: Thu, 23 Dec 2004 15:51:19 +0100 From: Konstantin Kletschke To: linux-mtd@lists.infradead.org Message-ID: <20041223145115.GA14940@synertronixx3> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: actual mtd snapshot and jffs3 questions List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi People! Today I tried out the actual mtd cvs including jffs2 and jffs3. Generally jffs2 works. I switchied compiling of jffs3 on also to test it but in jffs3.h are #ifdefs in the lines 296 and 310 which I had to comment out. #if defined CONFIG_JFFS3_FS_NAND || defined CONFIG_JFFS3_FS_NOR_ECC Indeed I have no CONFIG_JFFS3_FS_NAND nor CONFIG_JFFS3_FS_NOR_ECC but the code required the members of the struct and compiled fine then. Another thing is: make -C util make: Entering directory `/usr/src/mtd/util' gcc -I../include -O2 -Wall -g -c -o sumtool.o sumtool.c -g -Wp,-MD,.sumtool.c.dep sumtool.c:45:24: jffs3-user.h: No such file or directory which is right, no such file :) Forgot cvs add? How do I use jffs3? With a normal jffs2 filesystem created by actual mkfs.jffs2? I found no mkfs.jffs3 so I tried setting rootfstype=jffs2 to rootfstype=jffs3 and booted: [JFFS3] Magic bitmask 0x1985 not found at 0x000000: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000004: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000008: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x00000c: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000010: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000014: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000018: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x00001c: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000020: 0x00b0 instead [JFFS3] Magic bitmask 0x1985 not found at 0x000024: 0x00b0 instead [JFFS3] Further such events for this erase block will not be printed . . . [JFFS3] Cowardly refusing to erase blocks on filesystem with no valid JFFS3 nodes [JFFS3] Empty blocks 90, bad blocks 0, total blocks 118 VFS: Cannot open root device "mtdblock3" or unknown-block(31,3) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3) Regards, Konsti -- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF