From: Marc Kleine-Budde <mkl@pengutronix.de>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org, "Huang Shijie" <shijie8@gmail.com>,
kernel@pengutronix.de,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: another issue with ubifs on v3.6-rc2: attaching an formatted device
Date: Tue, 21 Aug 2012 12:16:27 +0200 [thread overview]
Message-ID: <50335FFB.3080703@pengutronix.de> (raw)
In-Reply-To: <1345544113.2848.87.camel@sauron.fi.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2742 bytes --]
On 08/21/2012 12:15 PM, Artem Bityutskiy wrote:
> On Tue, 2012-08-21 at 11:35 +0200, Uwe Kleine-König wrote:
>> On Mon, Aug 20, 2012 at 10:11:07PM +0300, Artem Bityutskiy wrote:
>>> On Mon, 2012-08-20 at 18:07 +0200, Uwe Kleine-König wrote:
>>>> [ 163.714143] uncorrectable error :
>>>> [ 163.727597] UBI warning: ubi_io_read: error -74 (ECC error) while
>>>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
>>>> [ 163.740737] uncorrectable error :
>>>> [ 163.744032] UBI warning: ubi_io_read: error -74 (ECC error) while
>>>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
>>>> [ 163.757119] uncorrectable error :
>>>> [ 163.760487] UBI warning: ubi_io_read: error -74 (ECC error) while
>>>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
>>>> [ 163.774427] uncorrectable error :
>>>> [ 163.777808] UBI error: ubi_io_read: error -74 (ECC error) while
>>>> reading 64 bytes from PEB 0:0, read 64 bytes
>>>
>>> This looks like your flash does not really support sub-pages while
>>> declares that it does. Check it with MTD subpage test.
>> the subpages test fails with:
>>
>> [ 82.435792] mtd_subpagetest: written up to eraseblock 7424
>> [ 82.905775] mtd_subpagetest: written up to eraseblock 7680
>> [ 83.375201] mtd_subpagetest: written up to eraseblock 7936
>> [ 83.840447] mtd_subpagetest: written 8192 eraseblocks
>> [ 83.845522] mtd_subpagetest: verifying all eraseblocks
>> [ 83.852740] uncorrectable error :
>> [ 83.856086] mtd_subpagetest: error: read failed at 0x0
>> [ 83.861469] mtd_subpagetest: error -74 occurred
>> [ 83.866093] =================================================
>> Error: could not insert module ./drivers/mtd/tests/mtd_subpagetest.ko: Bad message
>>
>> I don't have a clue yet how to debug that further. Will start with
>> checking older kernel releases. Any hints welcome.
>
> AFAIR, the driver did not support subpages and just needed to report
> about this. And there is a bug in MTD which makes it impossible for
> drivers to tell that sub-pages are not supported. So AFAIU, we need the
> patch I pointed you, and we also need the driver to use "no subpage
> writes" option.
>
> I think the maintainer is the best person to comment on this. I assume
> this is the gpmi driver, so that would be Huang Shijie
> <shijie8@gmail.com>.
It's an mx35, so mxc_nand.c and it's Sascha Hauer, who's on vacation
this week.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2012-08-21 10:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 16:07 another issue with ubifs on v3.6-rc2: attaching an formatted device Uwe Kleine-König
2012-08-20 19:11 ` Artem Bityutskiy
2012-08-20 19:14 ` Artem Bityutskiy
2012-08-21 9:35 ` Uwe Kleine-König
2012-08-21 10:15 ` Artem Bityutskiy
2012-08-21 10:16 ` Marc Kleine-Budde [this message]
2012-08-21 12:13 ` Uwe Kleine-König
2012-08-21 10:24 ` Huang Shijie
2012-08-21 10:31 ` Artem Bityutskiy
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=50335FFB.3080703@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=dedekind1@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-mtd@lists.infradead.org \
--cc=shijie8@gmail.com \
--cc=u.kleine-koenig@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox