copy problem with mtd partition
Manoj
manoj23 at gmail.com
Tue Mar 31 18:30:24 EDT 2009
Hi,
I have two mtd partitons 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.
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.
More information about the linux-mtd
mailing list