From: Konstantin Kletschke <lists@ku-gbr.de>
To: linux-mtd@lists.infradead.org
Subject: actual mtd snapshot and jffs3 questions
Date: Thu, 23 Dec 2004 15:51:19 +0100 [thread overview]
Message-ID: <20041223145115.GA14940@synertronixx3> (raw)
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
next reply other threads:[~2004-12-23 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-23 14:51 Konstantin Kletschke [this message]
2004-12-23 17:20 ` actual mtd snapshot and jffs3 questions Artem B. Bityuckiy
2004-12-23 22:09 ` Konstantin Kletschke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041223145115.GA14940@synertronixx3 \
--to=lists@ku-gbr.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.