From: Artem Bityutskiy <dedekind1@gmail.com>
To: Russell Zuck <rzuck@cincinnatitechnologies.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: UBIFS corruption after software upgrade
Date: Wed, 22 Aug 2012 16:18:49 +0300 [thread overview]
Message-ID: <1345641529.2848.185.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <501923A9.7030002@cincinnatitechnologies.com>
[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]
On Wed, 2012-08-01 at 08:40 -0400, Russell Zuck wrote:
> On 7/24/2012 5:02 PM, Russell Zuck wrote:
> > I have not yet attempted to reproduce this issue using nandsim nor do I
> > have a simple reproducer for the problem yet. Please provide some ideas
> > about how to simulate the reboot using nandsim as I think the reboot
> > portion of this scenario will be critical to reproducing the issue.
>
> Can anyone direct me to some information that might help me simulate a
> reboot using nandsim to attempt to reproduce my UBIFS corruption issue?
>
> Additionally, I would really appreciate any suggestions, tips, tricks,
> criticisms of the upgrade process I outlined previously, or "Have you
> considered this" type questions. I've read everything I could find that
> even remotely pertains to my scenario but nothing is clicking for me
> yet. I'm desperately trying to resolve my issue. Any guidance would be
> welcome.
Do you have a kernel which worked for you? One strategy would be to
bisect or look at the differences.
WRT power-cut testing. Could you try your kernel + nandsim. Just do the
following:
$ modprobe nandsim first_id_byte=0x20 second_id_byte=0xac third_id_byte=0x00 fourth_id_byte=0x15
$ modprobe ubi mtd=0
$ ubimkvol /dev/ubi0 --lebs 4064 -N test_fs
$ mount -t ubifs /dev/ubi0_0 /mnt/ubifs
You should end up with something close to your system.
Please, then try to do:
$ echo 1 > /sys/kernel/debug/ubifs/tst_recovery
$ cd $HOME/git/mtd-utils/tests/fs-tests/integrity
$ ./integck -p /mnt/ubifs
This should start recovery testing. Does it work?
The "integck" test is part of the mtd-utils repository.
But from your description it looks like something related to your
system, not UBIFS.
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-08-22 13:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-24 21:02 UBIFS corruption after software upgrade Russell Zuck
2012-08-01 12:40 ` Russell Zuck
2012-08-02 2:10 ` Subodh Nijsure
2012-08-22 13:18 ` Artem Bityutskiy [this message]
2012-08-24 17:55 ` Russell Zuck
2012-08-27 16:17 ` Russell Zuck
2012-08-31 11:21 ` Artem Bityutskiy
2012-08-22 13:21 ` Artem Bityutskiy
2012-08-22 13:02 ` Artem Bityutskiy
2012-08-31 11:30 ` 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=1345641529.2848.185.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=rzuck@cincinnatitechnologies.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.