Skip to contentSkip to conversation

JFFS2 and SMP

DISCUSSION John Jacques 1 participant 1 message Feb 24, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

With linux 2.6.21 and ARM's patch-2.6.21-arm1 patch, I was able to use JFFS2 file systems on NAND device without any problems. With either ARM patch for 2.6.24 kernel_src_patch-2.6.24-arm2 or kernel_src_patch-2.6.24-arm3), creating a small partition and writing a single file (a kernel image) to it fails, within one or two tries, as follows.

Data CRC 1659d2d9 != calculated CRC e07bc570 for node at 005a4a38
cp: writing `/mnt/linux.img': Input/output error

With only one core enabled, but still using the SMP kernel that fails above, there are no failures (at least with a script running the test over the weekend).

Enabling JFFS2 debugging adds nothing to the above error output.

Any ideas?