From: Vikram Narayanan <vikram186@gmail.com>
To: Stefan Roese <sr@denx.de>
Cc: Huang Shijie <b32955@freescale.com>, linux-mtd@lists.infradead.org
Subject: Re: mtd_oobtest fails with GPMI-NAND
Date: Sun, 12 May 2013 17:40:54 +0530 [thread overview]
Message-ID: <518F86CE.6060408@gmail.com> (raw)
In-Reply-To: <518C91AA.8040107@denx.de>
Hello Stefan,
On 5/10/2013 11:50 AM, Stefan Roese wrote:
> Hi Vikram,
>
> On 05/09/2013 02:30 PM, Vikram Narayanan wrote:
>>> I might be seeing something similar on my iMX6 board. Here
>>> mtd_subpagetest sometimes fails.
>>
>> AFAIR, subpagetest passed for me when I tested.
>>
>> BTW, What kind of errors are you getting? Any logs?
>
> Sure. Here 2 logs with v3.9.1:
>
> # insmod mtd_subpagetest.ko dev=3
> [ 315.947734] mtd_subpagetest: verified up to eraseblock 0
> [ 317.140658] mtd_subpagetest: error: read failed at 0xd60800
> [ 2561.996470] mtd_subpagetest: error: read failed at 0xe380800
Looks like it is happening at random. Two different physical locations
on two different runs.
>>>
>>> What is the current status on your platform? Did you resolve this
>>> problem? If yes, what did you have to change/fix?
>>
>> Unfortunately no. I haven't got enough time to look into this.
>
> Too bad. Could you please explain again, how you first noticed
> that the you might have a problem with NAND on your imx6 board?
For me, the error (-74) happened when the kernel is finally trying to
mount the rootfs. It is random as well.
<http://www.linux-mtd.infradead.org/faq/ubi.html#L_ecc_error>
As suggested in the above link, I tried to run the oobtest and it was
failing due to the missing ecc_layout structure. That's how this thread
was born.
> We noticed a problem first in U-Boot by using the following
> commands:
>
> => nand erase.part ubi; ubi part ubi
>
> This works the first time without any problem. But the 2nd time
> it leads to "uncorrectable errors" (0xfe) while reading from some
> blocks. And those failing blocks tend to be the same (more or less).
> Perhaps you might want to test this in U-Boot (if you use it)
> as well.
I'm using u-boot v2012.10, with no extra patches for mtd/ubi layers.
I tried in both the ways. Issued "nand erase; ubi part" and "ubi part"
alone. For me, It didn't give any "uncorrectable errors" error you've
mentioned.
The only error I came across in u-boot is "fixable bit-flip" issue. My
colleagues have reported it sometime back. But I couldn't reproduce it
and neither could they.
Can you please post the logs for the "uncorrectable errors" in u-boot?
That might give some hints to Huang.
Thanks,
Vikram
next prev parent reply other threads:[~2013-05-12 12:11 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 16:52 mtd_oobtest fails with GPMI-NAND Vikram Narayanan
2013-01-21 2:12 ` Huang Shijie
2013-01-28 2:39 ` Vikram Narayanan
2013-01-28 3:20 ` Huang Shijie
2013-01-28 17:04 ` Vikram Narayanan
2013-01-29 2:06 ` Huang Shijie
2013-01-29 2:26 ` Vikram Narayanan
2013-01-29 2:36 ` Huang Shijie
2013-01-29 16:28 ` Vikram Narayanan
2013-01-30 2:27 ` Huang Shijie
2013-02-02 6:41 ` Vikram Narayanan
2013-02-02 7:42 ` Huang Shijie
2013-02-02 7:46 ` Huang Shijie
2013-05-08 14:33 ` Stefan Roese
2013-05-09 12:30 ` Vikram Narayanan
2013-05-10 6:20 ` Stefan Roese
2013-05-12 12:10 ` Vikram Narayanan [this message]
2013-05-12 15:09 ` Stefan Roese
2013-05-13 16:38 ` Vikram Narayanan
2013-05-13 2:51 ` Huang Shijie
2013-05-13 8:01 ` Stefan Roese
2013-05-13 9:01 ` Huang Shijie
2013-05-13 9:22 ` Stefan Roese
2013-05-13 9:34 ` Huang Shijie
2013-05-13 10:02 ` Stefan Roese
2013-05-14 2:09 ` Huang Shijie
2013-05-14 2:11 ` Huang Shijie
2013-05-13 16:51 ` Vikram Narayanan
2013-05-14 2:23 ` Huang Shijie
2013-05-14 2:33 ` Vikram Narayanan
2013-05-14 2:47 ` Huang Shijie
2013-05-13 16:43 ` Vikram Narayanan
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=518F86CE.6060408@gmail.com \
--to=vikram186@gmail.com \
--cc=b32955@freescale.com \
--cc=linux-mtd@lists.infradead.org \
--cc=sr@denx.de \
/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.