public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2
@ 2003-10-21  9:20 Martin Egholm Nielsen
  2003-10-21  9:30 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Egholm Nielsen @ 2003-10-21  9:20 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-21  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-21  9:20 Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2 Martin Egholm Nielsen
2003-10-21  9:30 ` David Woodhouse
2003-10-21  9:52   ` Martin Egholm Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox