Jffs2 Magic bitmask problem
"Babla Bunty" <[email protected]> Wed, 25 Oct 2006 18:51:00 +0530
| Newsgroups | gmane.linux.drivers.mtd,gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I always get following warning while mounting mtd partition: Reading data from NAND FLASH without ECC is not recommended Empty flash at 0x001f85b8 ends at 0x001f85f0 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f85f0: 0xffff instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f85f4: 0x0219 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f85fc: 0xaf8c instead Following is the output of cat /proc/mtd: dev: size erasesize name mtd0: 00030000 00004000 "NAND partition 0 : Bootloader" mtd1: 001d0000 00004000 "NAND partition 1 : Kernel" mtd2: 00200000 00004000 "NAND partition 2 : NAND Root" mtd3: 07c00000 00004000 "NAND partition 3 : Romfs partition" >From the above output,it is clear that erase size is 16K. And i have erase the the mtd2 with following command: flash_eraseall -j /dev/mtd/2 As jffs2 expects magic bitmask in first page of block.It seems jffs2 is trying to find magic bitmask in wrong page. I am using 2.6.17 linux kernel . Could somebody help ??? Regards, Babla. ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/