Hi Xiaoguang, I tried setting CONFIG_YAFFS_DISABLE_TAGS_ECC, compiled and used the kernel. I'm getting the same results. When I do "touch" to create a file on the partition I still get "cannot allocate memory" and I see the partition's free space decreasing until there is no more. In the kernel log I can see yaffs retiring all blocks... On Sun, 2010-12-26 at 16:54 -0800, Xiaoguang Chen wrote: > Try set config CONFIG_YAFFS_DISABLE_TAGS_ECC > > Thanks > Xiaoguang > > -----Original Message----- > From: yaffs-bounces@lists.aleph1.co.uk [mailto:yaffs-bounces@lists.aleph1.co.uk] On Behalf Of Boaz Ben-David > Sent: 2010年12月26日 20:14 > To: yaffs@lists.aleph1.co.uk > Subject: [Yaffs] yaffs2 block retirement issue > > Hi all, > > I've been trying to use yaffs2 as the file system for a 2GB Samsung MLC > NAND chip. > The chip works with jffs2 and I wanted to use a file system which is > more "NAND oriented" and aware of wear-leveling. > I've been able to compile the kernel with yaffs2 support, boot the > device and mount the yaffs2 partition. > My problem is that when I try to write some files (even using "touch") > it seems yaffs is trying to retire all of the blocks on the partition. > I can see with "df" that the free space on the partition is becoming > small but no files are being created. > Can somebody please point me in the right direction to start > investigating this? I haven't been able to find any good information > while googling... > > Thanks, > > Boaz. > > > _______________________________________________ > yaffs mailing list > yaffs@lists.aleph1.co.uk > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs