All of lore.kernel.org
 help / color / mirror / Atom feed
From: fyaowen <fyaowen@sina.com>
To: linux-mtd@lists.infradead.org
Subject: problem with build jffs2 filesystem
Date: Sat, 30 Mar 2002 22:45:06 +0800	[thread overview]
Message-ID: <20020330144506.12877.qmail@sina.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2168 bytes --]

Hi, all
I am running linux-2.4.2-rmk2-np2 on Assabet + Neponset.
There is total 64M flash memory on them. I have patitioned it 
as follows:
  length      device      name      
0x00040000     mtd0     bootloader   \
0x000c0000     mtd1     kernel        |
0x00300000     mtd2     ramdisk       |  on Assabet (32M)
0x01c00000     mtd3     apps         /
0x00040000     mtd4     bootloader1  \
0x000c0000     mtd5     kernel1       | 
0x00300000     mtd6     ramdisk1      |  on Neponset(32M) 
0x00e00000     mtd7     apps1         |
0x00e00000     mtd8     apps2        /

I want to make jffs2 filesystem on mtd7: 
   mkfs.jffs2 -e 0x00040000 -p -r some/dir -o jffs2.image
   (build a jffs2 image, am I right?)

   dd if=jffs2.image of=/dev/mtd7
   mount -t jffs2 /dev/mtd7 /mnt

After I gave out this instruction, all partitions on Neponset were erased. 

This is the messages from the kernel.
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000008: 0xffff instead
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040008: 0xffff instead
JFFS2: Erase block at 0x00040000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080008: 0xffff instead
JFFS2: Erase block at 0x00080000 is not formatted. It will be erased

What's wrong with it? 
Any help is appreciated.

fyaowen

______________________________________

===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
ÐÂÀË·ÖÀàÐÅÏ¢£º¶þÊÖÊг¡×ßÒ»×ߣ¬¸Ã³öÊÖʱ¾Í³öÊÖ£¡ (http://classad.sina.com.cn/2shou/)

             reply	other threads:[~2002-03-30 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-30 14:45 fyaowen [this message]
2002-03-30 15:30 ` problem with build jffs2 filesystem David Woodhouse

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=20020330144506.12877.qmail@sina.com \
    --to=fyaowen@sina.com \
    --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.