Hi, i have compiled the YAFFS Linux Module with Arm linux gcc 2.95.3 cross compiler with the ARM kernel version of 2.4.18. I have made the patch in YAFFS linux module. in linux kernel's Include/linux/mtd/mtd.h, - int (*read_ecc) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, u_char *eccbuf); - int (*write_ecc) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf, u_char *eccbuf); +int (*read_ecc) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, u_char *eccbuf,struct nand_oobinfo *oobsel); +int (*write_ecc) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf, u_char *eccbuf,struct nand_oobinfo *oobsel); Now the yaffs has compiled successfully. the yaffs.o module is created. when i insert the module, no error information is obtained in DMESG. when i mount the yaffs, mount -t yaffs /dev/mtdblock/0 /home No error message in Dmesg. when i get into /home directory no error is obtained. But when i try to write any file into the /home (YAFFS mounted directory), the system is hanged. kernel and file systems were corrupted please advise hariharan.v.