Hello, Im cross posting this on the MTD and microblaze mailing lists for assistance with this problem. Background: I have a system with 3 flash partitions on a Spansion S29GL512N flash chip with a 16-bit wide data bus, on a microblaze unix from Petalogix distribution v0.20-rc3. When I boot the system with a Linux 2.4.32-uc0 there are no CRC errors on any of the flash partitions. However when I boot the Linux-2.6.20-uc0 on the same flash unit I get many CRC errors on the flash partitions. I have modified fs/jffs/scan.c to display the entire node that had the CRC error, after the message. The thing Ive noticed is even though the displayed nodes are different the calculated CRC is the same. Could there be an error in reading the data from the flash or some sort of cache error?
Sorry for the line wraps, the text editor has a fixed line length. Notice the calculated CRC for the 2, 3, and 4 node is the same. jffs2_scan_inode_node(): CRC failed on node at 0x001c1aa4: Read 0x62464a26, calculated 0x0f58c4cf Node data: 1985e002 00000348 86743dd6 00000002 00000fd8 000081a4 00000000 00001000 463a4192 463a4192 463a4192 00000000 00000304 00001000 06000000 be5b0ca3 62464a26 jffs2_scan_inode_node(): CRC failed on node at 0x001c1dec: Read 0x6bc438ff, calculated 0x6bc6d431 Node data: 1985e002 00000074 82361292 00000002 00000fd9 000081a4 00000000 00002000 463a4192 463a4192 463a4192 00001000 00000030 00001000 06000000 fba74207 6bc438ff jffs2_scan_inode_node(): CRC failed on node at 0x001c1e60: Read 0x53b7f7eb, calculated 0x6bc6d431 Node data: 1985e002 00000074 82361292 00000002 00000fda 000081a4 00000000 00003000 463a4192 463a4192 463a4192 00002000 00000030 00001000 06000000 fba74207 53b7f7eb jffs2_scan_inode_node(): CRC failed on node at 0x001c1ed4: Read 0x54e7e969, calculated 0x6bc6d431 Node data: 1985e002 00000074 82361292 00000002 00000fdb 000081a4 00000000 00004000 463a4192 463a4192 463a4192 00003000 00000030 00001000 06000000 fba74207 54e7e969 jffs2_scan_inode_node(): CRC failed on node at 0x001c2190: Read 0x4d943db5, calculated 0x626927df Node data: 1985e002 00000218 f4045d63 00000002 00000fde 000081a4 00000000 00004424 463a4192 463a4192 463a4192 00004000 000001d4 00000424 06000000 a7f8228e 4d943db5 Jeff Fellin Coredge Networks. _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
