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: Re: Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2
Date: Tue, 21 Oct 2003 11:52:32 +0200	[thread overview]
Message-ID: <3F9501E0.8060904@egholm-nielsen.dk> (raw)
In-Reply-To: <1066728627.6744.1529.camel@hades.cambridge.redhat.com>

>>And now I'm lost... Any ideas of how to get any further?
> Can you read back the contents of the flash after writing, and compare
> with the image you attempted to write?
Heh, good point! I tried the following:

# dd if=/tmp/image of=/dev/mtd/2
32+0 records in
32+0 records out

# dd if=/dev/mtd/2 of=/tmp/copy count=32 bs=512
32+0 records in
32+0 records out

# ls -l /tmp
-rw-r--r--    1 root     root       16384 Jan  1 00:00 image
-rw-r--r--    1 root     root       16384 Jan  1 00:01 copy

# diff /tmp/image /tmp/copy
Binary files /tmp/image and /tmp/copy differ

I.e. not the same, no... You know why?

Regards,
  Martin Egholm Nielsen

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=3F9501E0.8060904@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