|
New file creation Hang problem: msg#00020linux.file-systems.yaffs
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. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Is there kernel patch: 00020, hariharan veerappan |
|---|---|
| Next by Date: | Bad block with CONFIG_YAFFS_USE_OLD_MTD: 00020, hariharan veerappan |
| Previous by Thread: | Is there kernel patchi: 00020, hariharan veerappan |
| Next by Thread: | Bad block with CONFIG_YAFFS_USE_OLD_MTD: 00020, hariharan veerappan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |