All of lore.kernel.org
 help / color / mirror / Atom feed
* [resend] Problem with copying a file to JFFS2 partition
@ 2009-04-01 19:13 Manoj
  0 siblings, 0 replies; only message in thread
From: Manoj @ 2009-04-01 19:13 UTC (permalink / raw)
  To: linux-mtd

Sorry for the repost, but trying again.

Hi,

I have two mtd partitions on a NAND flash and one of them keeps the
jffs2 filesystem. I can mount the jffs2 fs, read and write files off
of the mounted directory. But when I  copy a big file (11 MB) to any
location in the mounted directory, the call never returns. The
partition is 112MB big. Sometimes, a small file copy can produce the
problem. The jffs2 fs was created with cleanmarker enabled.

I enabled jffs2 debugging and I see this in dmesg:

[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11
[  167.250000] jffs2_erase_pending_blocks completed
[  167.250000] jffs2_reserve_space: ret is -11

It seems like jffs2 can't find a block to write to? What could be wrong?

Please cc me in the reply as I am not subscribed.

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-01 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 19:13 [resend] Problem with copying a file to JFFS2 partition Manoj

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.