From: Artem Bityutskiy <dedekind1@gmail.com>
To: Andreas Friesen <ndrs.frsn@googlemail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Loosed files after umount/mount
Date: Wed, 27 Jun 2012 14:00:58 +0300 [thread overview]
Message-ID: <1340794858.29342.55.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <CAMU=cjyiX2KnntUFYYa-fwi0QAKX-Um1gE8tpNLwNiNsbj8O1Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
On Mon, 2012-06-18 at 22:29 +0200, Andreas Friesen wrote:
> Hello,
>
> I'm experiencing a strange problem with JFFS2 using Linux
> 3.1.5, 3.4 from kernel.org.git on PowerPC. After unmounting and
> remounting the filesystem,
> directory is empty.
So is it 3.4 or 3.1.5?
> $ flash_erase /dev/mtd2
> $ reboot
> $ mount mtd:storage /storage -t jffs2
> $ scp root@server:/tmp/settings/*.xml /storage
If you add "sleep 20" here - does it help?
> $ sync
> $ umount /storage
> $ mount mtd:storage /storage -t jffs2
> $ ls /storage
> ... empty ?????
>
> Any Hints?
Is it NOR or NAND? My first guess is that the write-buffer is not
synced. Or there are issues with the driver, try to run mtd tests.
--
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-06-27 10:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 20:29 Loosed files after umount/mount Andreas Friesen
2012-06-27 11:00 ` Artem Bityutskiy [this message]
2012-06-29 9:03 ` Andreas Friesen
2012-06-29 14:20 ` Artem Bityutskiy
2012-07-02 10:05 ` Andreas Friesen
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=1340794858.29342.55.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=ndrs.frsn@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox