linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Aníbal Almeida Pinto" <anibal.pinto@efacec.com>
To: <linux-mtd@lists.infradead.org>,
	"davinci-linux-open-source@linux.davincidsp.com"
	<Davinci-linux-open-source@linux.davincidsp.com>
Cc: Fernando Gomes <fernando.gomes@efacec.com>
Subject: JFFS2 impact when don't have sub page access
Date: Wed, 31 Jul 2013 15:24:08 +0100	[thread overview]
Message-ID: <51F91E08.7030409@efacec.com> (raw)


Hi,

I' am using an OMAP L138 with a NAND SLC (MT29F4G08)

I was making some tests with Ubifs but found some errors due to OMAP 
don't support sub pages access:

[  128.344667] UBI error: ubi_io_read: error -74 (ECC error) while 
reading 512 bytes from PEB 2:512, read 512 bytes
[  128.883945] UBI error: ubi_io_read: error -74 (ECC error) while 
reading 512 bytes from PEB 1766:512, read 512 bytes
[  128.884072] UBI: run torture test for PEB 1766

The error will continue on loop.

The mtd_tests failed on mtd_supgatetest:

[ 63.870866] mtd_subpagetest: MTD device: 0
[ 63.870929] mtd_subpagetest: MTD device size 262144, eraseblock size 
131072, page size 2048, subpage size 512, count of eraseblocks 2, pages 
per eraseblock 64, OOB size 64
[ 63.871052] mtd_subpagetest: scanning for bad eraseblocks
[ 63.871097] mtd_subpagetest: scanned 2 eraseblocks, 0 are bad
[ 63.871126] mtd_subpagetest: erasing whole device
[ 63.872731] mtd_subpagetest: erased 2 eraseblocks
[ 63.872756] mtd_subpagetest: writing whole device
[ 63.873873] mtd_subpagetest: written up to eraseblock 0
[ 63.874943] mtd_subpagetest: written 2 eraseblocks
[ 63.874969] mtd_subpagetest: verifying all eraseblocks
[ 63.875620] mtd_subpagetest: error: read failed at 0x0
[ 63.875667] mtd_subpagetest: error -74 occurred

and disabling the sub page access enable the use of UBIFS [1].

Is there any impact on jffs2 partitions if sub page write are enable on 
OMAP L138?

Thanks.

[1] - 
http://davinci-linux-open-source.1494791.n2.nabble.com/UBI-crashes-fixing-NAND-subpage-writes-td5485828.html 
(message from 2010/09/29)

Regards,
Aníbal

             reply	other threads:[~2013-07-31 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 14:24 Aníbal Almeida Pinto [this message]
2013-08-02  4:57 ` JFFS2 impact when don't have sub page access Gupta, Pekon
2013-08-02  5:30   ` Sekhar Nori
2013-08-02  6:25     ` Gupta, Pekon
2013-08-02 10:47       ` Aníbal Almeida Pinto
2013-08-02 11:52         ` Gupta, Pekon
2013-08-02 12:42           ` Aníbal Almeida Pinto

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=51F91E08.7030409@efacec.com \
    --to=anibal.pinto@efacec.com \
    --cc=Davinci-linux-open-source@linux.davincidsp.com \
    --cc=fernando.gomes@efacec.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;
as well as URLs for NNTP newsgroup(s).