[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gc problem?


I'm using JFFS2 on a 8MByte AMD AM29LV640MT flash chip in an Axis Etrax
MCM2+8, environment, /proc/mtd shows the following:

dev:    size   erasesize  name
mtd0: 00010000 00002000 "part0"
mtd1: 001f0000 00010000 "part1"
mtd2: 00800000 00010000 "part2"
mtd3: 000fe000 00010000 "romfs"

mtd2 ist the jffs2 partition.

I'm adding very small chunks of data (12 Bytes) to a File. After writing
9200...9400 records (file size approx. 110kByte), I cannot write another
record and cannot delete the file.

dmesg shows the following lines on every record write:

garbage collect from block at phys 0x00000000
Going to garbage collect node at 0x000000a0
Inode number is #3
jffs2_garbage_collect_pass collecting from block @xxxxxxx. Node
@0x000000a0, ino #3
Raw node at 0x000000a0 wasn't in node lists for ino #3
thread_should_wake(): nr_free_blocks 0, nr_erasing_blocks 0, dirty_size
jffs2_garbage_collect_thread(): pass

/proc/mtd says, that "erase size" is 0x10000 bytes (64kByte), which ist
the sector size of the AMD AM29LV640MT.
What does the node number 0x000000a0 mean, sector number 0xa0 of 64kByte
size? This seems to be beyond the end of the flash?

Any hint would be appreciated.

Best regards,

Bernhard Roessmann
Don't Fear The Penguins!

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com