All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Bhuvanchandra DV <bhuvanchandradv@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: UBIFS errors when file-system is full
Date: Fri, 24 Jul 2015 18:51:48 +0200	[thread overview]
Message-ID: <55B26D24.3060006@nod.at> (raw)
In-Reply-To: <55B24F2F.9020705@gmail.com>

Hi!

Am 24.07.2015 um 16:43 schrieb Bhuvanchandra DV:
> Disabled fastmap in U-Boot, still the corruption is persistent when using
> U-Boot to mount rootfs and load kernel.

Can you please describe your boot setup in detail?
Why does U-Boot _mount_ an UBIFS? Install the kernel on an UBI static volume.

If U-Boot mounts UBIFS it has to use UBI in RW mode and therefore it has to process
fastmap or _delete_ it.

>>> The same power cut tests are done by skipping the U-Boot to mount the UBIFS. Loaded
>>> the kernel via tftp and mount the rootfs with kernel. The power cut test passed.
>>> I think U-Boot might have some issues, but not very sure.
>> To my knowledge U-Boot's fastmap support is incomplete.
>> If you *really* need fastmap in U-Boot make sure that they have backported
>> all recent fastmap changes. Fastmap is still experimental and faced a lot of fixes
>> recently.
> 
> Tested with mainline U-Boot along with few downstream patches for boot config block
> support applied, the ubifs corruption is persistant.
> 
>>
>>>> Anyway, we need to sort out what is going on.
>>>> As fm_debug does not trigger it could also be a non-fastmap issue.
>>>> Did you try your test without fastmap being enabled?
>>>>
>>>> Does your target pass UBI tests too?
>>> I'm not aware of UBI tests so far the driver passed all MTD tests.
>>> Can you please provide some pointers for UBI tests. Will run the UBI tests with
>>> driver.
>> They are in the mtd-utils source.
> 
> Not yet ran the ubi-tests. Will run the tests and share the results.

Please do so. :-)

Thanks,
//richard

  reply	other threads:[~2015-07-24 16:52 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 13:55 UBIFS errors when file-system is full Bhuvanchandra DV
2015-07-13 14:09 ` Richard Weinberger
2015-07-14  4:23   ` Bhuvanchandra DV
2015-07-14  6:13     ` Richard Weinberger
2015-07-14  6:30       ` Bhuvanchandra DV
2015-07-14  6:32         ` Richard Weinberger
2015-07-14  8:29           ` Bhuvanchandra DV
2015-07-14  8:42             ` Richard Weinberger
2015-07-14 10:08               ` Bhuvanchandra DV
2015-07-14 11:06                 ` Richard Weinberger
     [not found]                   ` <55A74812.2020906@gmail.com>
     [not found]                     ` <55A74AA1.2000000@nod.at>
     [not found]                       ` <55A7540C.3050900@nod.at>
     [not found]                         ` <55A7592D.6010906@gmail.com>
     [not found]                           ` <55A75A05.7040603@nod.at>
2015-07-16  7:33                             ` Bhuvanchandra DV
2015-07-21  6:04                             ` Bhuvanchandra DV
2015-07-21  6:14                               ` Richard Weinberger
2015-07-22  7:10                                 ` Bhuvanchandra DV
2015-07-22  7:20                                   ` Richard Weinberger
2015-07-24 14:43                                     ` Bhuvanchandra DV
2015-07-24 16:51                                       ` Richard Weinberger [this message]
2015-07-31 16:47                                         ` Bhuvanchandra DV
2015-08-01  6:36                                           ` Richard Weinberger
2015-08-06 10:31                                             ` Bhuvanchandra DV
2015-08-07 12:37                                               ` Richard Weinberger
2015-08-12  7:01                                                 ` Stefan Agner
2015-08-12  7:27                                                   ` Richard Weinberger
2015-09-01  0:45                                                     ` Stefan Agner
2015-09-01  1:43                                                       ` Brian Norris
2015-09-01  2:20                                                         ` Stefan Agner
2015-09-02 19:58                                                         ` Stefan Agner
2015-09-02 20:13                                                           ` Brian Norris
2015-09-02 20:41                                                             ` Stefan Agner
2015-09-07 13:47                                                           ` Bhuvanchandra
2015-09-11  4:03                                           ` Bhuvanchandra
2015-09-12  9:39                                             ` Richard Weinberger
2015-09-13  4:45                                               ` Bhuvanchandra
2015-07-16  7:35                     ` Fwd: " Bhuvanchandra DV

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=55B26D24.3060006@nod.at \
    --to=richard@nod.at \
    --cc=bhuvanchandradv@gmail.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 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.