public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
To: linux-mtd@lists.infradead.org
Subject: Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2
Date: Tue, 21 Oct 2003 11:20:07 +0200	[thread overview]
Message-ID: <3F94FA47.7020805@egholm-nielsen.dk> (raw)

Hi there,

I'm attempting to mount a jffs2-filesystem on a SmartMedia card but it's 
not quite successfull (read: it doesn't work at all).
Some info:

* On startup the kernel informs me of the following:
SmartMedia card inserted.
NAND device: Manufacture ID: 0xec, Chip ID: 0x75 (Samsung KM29U256T)

* The /proc/mtd contains the following:
dev:    size   erasesize  name
mtd0: 00200000 00010000 "Physically mapped flash"
mtd1: 00840000 00000420 "Atmel AT45DB642"
mtd2: 02000000 00004000 "Samsung KM29U256T"

i.e. the flash-device I'm trying to use is "mtd2".

* Running "eraseall /dev/mtd/2" works like a charm.

* I try to create a small filesystem with the command:
  mkfs.jffs2 --eraseblock=0x4000 --pad --root=/usr/adm --output=/tmp/image

* I copied the filesystem to the device: "cp /tmp/image /dev/mtd/2"

* ...and tried to mount it: "mount -t jffs2 /dev/mtdblock/2 /mnt/mtd"
but this is where the sky falls down - I get tons of messages like the 
following:
jffs2_scan_empty(): Empty block at 0x0000001c ends at 0x00000200 (with 
0x0000000
0)! Marking dirty
<%%%% SNIP %%%%>
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased

And now I'm lost... Any ideas of how to get any further?

Regards,
  Martin Egholm Nielsen

             reply	other threads:[~2003-10-21  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-21  9:20 Martin Egholm Nielsen [this message]
2003-10-21  9:30 ` Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2 David Woodhouse
2003-10-21  9:52   ` Martin Egholm Nielsen

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=3F94FA47.7020805@egholm-nielsen.dk \
    --to=martin@egholm-nielsen.dk \
    --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