All of lore.kernel.org
 help / color / mirror / Atom feed
From: Narinder Kumar <narinder@kritikalsolutions.com>
To: mattcreech@eaton.com, linux-mtd@lists.infradead.org
Subject: JFFS2 CRC err
Date: Fri, 25 Feb 2005 20:35:05 +0530	[thread overview]
Message-ID: <421F3EA1.5040506@kritikalsolutions.com> (raw)

Dear Mr, Matthew,

             I have been working on Atmel's AT91RM9200DK board, which is 
using serial dataflash AT45DB62. I have created a JFFS2 partition on the 
device to store my filesystem. I have been able to mount the partition 
succesfully but when i do my read/write operations sometimes i get CRC 
errors. Here are the steps that i am following

1) Using kernel linux-2.4.26 patched with 2.4.26-vrs1
2) Partitioned the dataflash into 3 parts i,e 2 MB, 3MB and 3MB by 
specifying it in the driver code in at91_dataflash.c
3) booted the system and the erased the partitions . Last partition is 
my filesystem partition, so i erased it using -j option which makes it 
jffs2. Now i mounted the last partition as "mount -t jffs2 
/dev/mtdblock/2 /tmp/" and it mounts succefully and then i copy out my 
required files in this directory. And if i run my application now it 
runs successfully without any problem. Even if i kill my application and 
launch it again it run successfully . But if i do an unmount once and 
try the same procedure of mounting again and running the application it 
shows me an error

           Data CRC 0xABCD != calculated CRC 0xWXYZ

             Please let me know where i am going wrong ? and what was 
the kernel and patch used by you ?

Narinder

                 reply	other threads:[~2005-02-25 15:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=421F3EA1.5040506@kritikalsolutions.com \
    --to=narinder@kritikalsolutions.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mattcreech@eaton.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.