All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Palme <m.palme@goepel.com>
To: linux-mtd@lists.infradead.org
Subject: Interesting MTD (jffs2) problem - magic bitmask not found
Date: Tue, 01 Oct 2002 14:05:23 +0200	[thread overview]
Message-ID: <3D998F83.9000803@goepel.com> (raw)

hello...


i've posted this on linux-arm mailing list, but i think its also 
interesting for this list...

i run 2.4.18-rmk7 with mtd from cvs (mid september).
problem as follows:
# cat /proc/mtd
   dev:    size   erasesize  name
   mtd0: 00040000 00040000 "blob"
   mtd1: 00040000 00040000 "parm"
   mtd2: 00100000 00040000 "krnl"
   mtd3: 00400000 00040000 "rd"
   mtd4: 00100000 00040000 "krnl2"
   mtd5: 00400000 00040000 "rd2"
   mtd6: 01580000 00040000 "jffs2"
# mtd_debug info /dev/mtd6
   mtd.type = MTD_NORFLASH
   mtd.flags = MTD_CAP_NORFLASH
   mtd.size = 22544384 (21M)
   mtd.erasesize = 262144 (256K)
   mtd.oobblock = 0
   mtd.oobsize = 0
   mtd.ecctype = MTD_ECC_NONE
   regions = 0
# cd /root
# ls temp
   temp1  temp2
# mkfs.jffs2 -r temp -e 262144 -o jffs2img
# eraseall /dev/mtd6
   Erasing 256 Kibyte @ ...[snip]...  100% complete.
# cp jffs2img /dev/mtd6
# mount /dev/mtdblock6 -t jffs2 /mnt/jffs2/
# cd /mnt/jffs2
# ls
   temp1  temp2
# rm -r temp*
... [this tooks very long time] ...
# ls
# cd /
# umount /mnt/jffs2/
# mount /dev/mtdblock6 -t jffs2 /mnt/jffs2/
?????????????????????????????????????????????????????????????????????
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000:
0x2003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004:
0x000c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008:
0xdc6d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000:
0x2003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004:
0x000c instead
...[snip]...
?????????????????????????????????????????????????????????????????????
# mount
   /dev/ramdisk on / type ext2 (rw)
   none on /proc type proc (rw)
   /dev/mtdblock6 on /mnt/jffs2 type jffs2 (rw)
# cd /mnt/jffs2/
# ls
#
...

best regards... Michael Palme

             reply	other threads:[~2002-10-01 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 12:05 Michael Palme [this message]
2002-10-01 15:23 ` jffs2 problem - magic bitmask not found Michael Palme
2002-10-01 15:56   ` Joakim Tjernlund

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=3D998F83.9000803@goepel.com \
    --to=m.palme@goepel.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.