public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "??" <kevin@gv.com.tw>
To: <linux-mtd@lists.infradead.org>
Cc: <dwmw2@redhat.com>
Subject: jffs2 mounting problem
Date: Wed, 31 Jul 2002 21:23:15 +0800	[thread overview]
Message-ID: <01b201c23895$6d771b00$1b0448c0@gv.com.tw> (raw)
In-Reply-To: 018001c23892$e85bb4a0$1b0448c0@gv.com.tw

   dear all,
   thanks for your help,

  now i try to:

 1> eraseall /dev/mtd1
 2> cp test.img /dev/mtdblock1

      test.img is created from:
     mkfs.jffs2 -r rootfs_jffs2 -e 16K -l -o test.img
     nand device is TC58128FT (16MBytes Nand flash)
      (should i use "nandwrite" instead of "cp" here?)

 3> mount -t jffs2 /dev/mtdblock1 /mnt

  then it still report many "magic bitmask not found"
   do i missing something?
   or is it caused by bad-block/ecc-error?

   thanks in advanced!:)

   best regards,
   kevin

> >  ----following message
> > > log------------------------------------------------------
> > > jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00298014:
> > > 0xa3dc in
> > > stead
> > > jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00298018:
> > > 0xccfe in
> > > stead
> > > jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0029801c:
> > > 0xd1b5 in
> > > stead
> > > jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00298020:
> > > 0xf8fd in
> > > stead
> > > jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00298024:
> > > 0xb452 in
> > > stead
> > > Further such events for this erase block will not be printed
> > > nand_read_ecc: Failed ECC read, page 0x00007fc0
> > > nand_read_ecc: Failed ECC read, page 0x00007fc0
> > > nand_read_ecc: Failed ECC read, page 0x00007fc1
> > > nand_read_ecc: Failed ECC read, page 0x00007fc1
> > > nand_read_ecc: Failed ECC read, page 0x00007fc2
> > > nand_read_ecc: Failed ECC read, page 0x00007fc2
> > > nand_read_ecc: Failed ECC read, page 0x00007fc3
> > > nand_read_ecc: Failed ECC read, page 0x00007fc3
> > > jffs2_scan_empty(): Read 0x1000 bytes at 0x00df8000 returned -5
> > > mount: wrong fs type, bad option, bad superblock on /dev/mtdblock1,
> > >        or too many mounted file systems
----- following eraseall log -------------------------------
Erasing 16 Kibyte @ dc4000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ dc8000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ dcc000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ dd0000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ dd4000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ dd8000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ ddc000 -- 98 % complete.MTD_ioctl
Erasing 16 Kibyte @ de0000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ de4000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ de8000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ dec000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ df0000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ df4000 -- 99 % complete.MTD_ioctl
Erasing 16 Kibyte @ df8000 -- 99 % complete.MTD_ioctl
nand_erase: attempt to erase a bad block at page 0x00007fc0

./eraseall: /dev/mtd1: MTD Erase failure: Input/output error
Erasing 16 Kibyte @ dfc000 -- 99 % complete.MTD_ioctl
nand_erase: attempt to erase a bad block at page 0x00007fe0

./eraseall: /dev/mtd1: MTD Erase failure: Input/output error
Erased 14336 Kibyte @ 0 -- 100% complete.
MTD_close
-----------------------end of log ----------------------------

  reply	other threads:[~2002-07-31 13:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31 13:05 use "nandwrite" instead of "cp"? ??
2002-07-31 13:23 ` ?? [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-28  7:57 JFFS2 mounting problem Amit Sharma
2005-07-28  9:15 ` Thomas Gleixner
2002-04-04 16:07 jffs2 " Sanjay Kumar
2002-04-04 17:16 ` Robert Kaiser
2002-04-04 19:42   ` Sanjay Kumar
2002-04-04 21:24   ` Sanjay Kumar
2002-04-08 14:14     ` ajcurtis84
2002-01-08 17:17 JFFS2 " Sanjay Kumar
2002-01-09  3:04 ` Vipin Malik

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='01b201c23895$6d771b00$1b0448c0@gv.com.tw' \
    --to=kevin@gv.com.tw \
    --cc=dwmw2@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox