public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Artem B. Bityuckiy" <dedekind@yandex.ru>
To: Gianluca <gianlucarenzi@eptar.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: mounting a mtd or a mtblock??
Date: Mon, 16 May 2005 17:08:56 +0400	[thread overview]
Message-ID: <42889B68.3070902@yandex.ru> (raw)
In-Reply-To: <200505161329.17406.gianlucarenzi@eptar.com>

As the first step you may install the last MTD tree from CVS and try it.
Can't help with wrong erasesize issue - I think this should be fixed 
somewhere in the Flash driver level. What does your 'cat /proc/mtd' say?

> Why erasing mtd[n] with flash_eraseall command and mounting mtdblock[n] with 
> mount comand?
> Why not erasing mtdblock[n] and mount mtdblock[n] as mount command uses only 
> BLOCK devices? Is this not completely *TRUE*??
Read about mtd device files in this FAQ:
http://www.linux-mtd.infradead.org/faq/nand.html

> 
> Anyway if I try to launch those commands, here is what system gives to me:
> 
> [ a very long log...]
> ...
> Empty flash at 0x003de780 ends at 0x003de784
> Empty flash at 0x003dfd3c ends at 0x003dfd40
> jffs2_scan_eraseblock(): Node at 0x003e0000 {0x1985, 0x4e76, 0x7ecf000c) has 
> invalid CRC 0x59a7b0b1 (calculated 0xa3ed5d51)
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003e0004: 0x000c 
> instead
> Any Help?? Any Clue?
Your flash neither contains any right data nor contains all FF. This 
confuses JFFS2. For some reasons flash_eraseall didn't erase your flash 
correctly. I think you should dig your Flash diver.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

  reply	other threads:[~2005-05-16 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 11:29 mounting a mtd or a mtblock?? Gianluca
2005-05-16 13:08 ` Artem B. Bityuckiy [this message]
2005-05-16 13:19   ` Artem B. Bityuckiy

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=42889B68.3070902@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=gianlucarenzi@eptar.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