jffs2 mount problem on spansion S29064M90R4
Radha Mohan
radhamohan_ch at yahoo.com
Mon Nov 24 01:57:56 EST 2008
Hi,
We have a 8MB spansion flash S29064M90R4 on our ARM based SoC board. It is in 8-bit mode. We are trying to mount it using JFFS2 as rootfs in linux-2.6.15. We are getting some CRC errors when mounted for the first time after programming, but eventually the mtd gets mounted. Below are the messages.
=========================================
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 88K
Erase at 0x00570000 failed immediately: errno -5
Data CRC b965b021 != calculated CRC 206af911 for node at 00104c9c
Data CRC 26921dc4 != calculated CRC 901bcdb6 for node at 001055bc
Data CRC 14c3e2d6 != calculated CRC 09455ebc for node at 00105eac
Data CRC 4dc8ea05 != calculated CRC f7967f49 for node at 001074a0
Node CRC be42caec != calculated CRC 3a0a3e51 for node at 00107e70
Data CRC 54e450b0 != calculated CRC e633629a for node at 001088e8
Data CRC 234f47e5 != calculated CRC 9a2970f6 for node at 00109364
Node CRC 2996b37e != calculated CRC adde47c3 for node at 00109dd8
Data CRC 05104fa4 != calculated CRC 2e2ad1c4 for node at 0010a764
Data CRC 15e9e3c7 != calculated CRC 7594f529 for node at 0010b124
Node CRC e18649f7 != calculated CRC 65cebd4a for node at 0010ba40
Node CRC 582224b5 != calculated CRC c7490033 for node at 0010c400
Node CRC f1f47d73 != calculated CRC 75bc89ce for node at 0010cb98
Data CRC b328ff90 != calculated CRC 9448f40a for node at 0010d514
Data CRC cd9e3e55 != calculated CRC 1ba16944 for node at 0010de74
Node CRC 40b67fc6 != calculated CRC dfdd5b40 for node at 0010e850
Node CRC ce7deb53 != calculated CRC 5116cfd5 for node at 0010f180
Data CRC 14c3e2d6 != calculated CRC 09455ebc for node at 00105eac
Data CRC 14c3e2d6 != calculated CRC 09455ebc for node at 00105eac
Data CRC 6eda1651 != calculated CRC 86d716d1 for node at 0010694c
Data CRC b078238e != calculated CRC 020cfd0e for node at 0010fa90
Node CRC c108f45c != calculated CRC 5e63d0da for node at 001105d8
Node CRC c58e306f != calculated CRC 5ae514e9 for node at 00111040
Node CRC 9e896087 != calculated CRC 1ac1943a for node at 00111a40
Node CRC a2e971fb != calculated CRC 3d82557d for node at 00112358
Data CRC 0f297499 != calculated CRC f88bfa99 for node at 00112c0c
Data CRC 71136fcf != calculated CRC ab84b771 for node at 001136ac
Node CRC c108f45c != calculated CRC 5e63d0da for node at 001105d8
Node CRC c108f45c != calculated CRC 5e63d0da for node at 001105d8
Node CRC 837154db != calculated CRC 0739a066 for node at 000c7ee4
<5>JFFS2 notice: (140) read_unknown: node header CRC failed at 0x0060b0. But it must have been OK earlier.
Erase at 0x00550000 failed immediately: errno -5
Erase at 0x00530000 failed immediately: errno -5
Erase at 0x00510000 failed immediately: errno -5
Erase at 0x004f0000 failed immediately: errno -5
Erase at 0x004d0000 failed immediately: errno -5
Erase at 0x004b0000 failed immediately: errno -5
Erase at 0x00490000 failed immediately: errno -5
Erase at 0x005e0000 failed immediately: errno -5
Erase at 0x005b0000 failed immediately: errno -5
===================================================
Now, if we restart the board after sometime, we get following errors and the rootfs gets mounted but it was unable to find /dev/console. I think the filesystem got corrupted.
>>>>>>>>>>>>>>>>
jffs2_scan_inode_node(): CRC failed on node at 0x00486758: Read 0xffffffff, calculated 0x67d5c491
jffs2_scan_dirent_node(): Node CRC failed on node at 0x00486988: Read 0xffffffff, calculated 0x8aa4dac6
jffs2_scan_inode_node(): CRC failed on node at 0x004869c0: Read 0xd53a8616, calculated 0xa92246d1
jffs2_scan_dirent_node(): Node CRC failed on node at 0x00486a08: Read 0xffffffff, calculated 0xe3c5e0bd
jffs2_scan_inode_node(): CRC failed on node at 0x00486a38: Read 0xffffffff, calculated 0x042893a6
jffs2_scan_dirent_node(): Node CRC failed on node at 0x00486a80: Read 0xffffffff, calculated 0xe504fee8
jffs2_scan_inode_node(): CRC failed on node at 0x00486bc4: Read 0x7126a2ee, calculated 0x64e9d0eb
Empty flash at 0x00486c4c ends at 0x00486ccc
jffs2_scan_inode_node(): CRC failed on node at 0x00486d3c: Read 0xffffffff, calculated 0x76316d6e
jffs2_scan_dirent_node(): Node CRC failed on node at 0x00486dc4: Read 0xffffffff, calculated 0x42547435
jffs2_scan_inode_node(): CRC failed on node at 0x00486f28: Read 0xffffffff, calculated 0x4b495711
jffs2_scan_inode_node(): CRC failed on node at 0x00487024: Read 0xffffffff, calculated 0x143f1edc
jffs2_scan_dirent_node(): Name CRC failed on node at 0x004870dc: Read 0xffffffff, calculated 0x0e90bf81
jffs2_scan_inode_node(): CRC failed on node at 0x004871e0: Read 0xffffffff, calculated 0x14d40e1a
jffs2_scan_inode_node(): CRC failed on node at 0x004872d8: Read 0xffffffff, calculated 0x04ecb1a9
jffs2_scan_inode_node(): CRC failed on node at 0x00487324: Read 0x4bc3bb72, calculated 0xa16bacad
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 88K
Data CRC 0756aa39 != calculated CRC be2612ff for node at 00486afc
Read device numbers for inode 149 failed
Warning: unable to open an initial console.
JFFS2 notice: (104) read_dnode: header CRC failed on node at 0x486924: read 0x328d1f27, calculated 0xe4f2fd21
JFFS2 notice: (104) read_dnode: header CRC failed on node at 0x4868c4: read 0x469772c5, calculated 0x9a8ab587
JFFS2 notice: (104) read_dnode: header CRC failed on node at 0x486864: read 0x8e666bfa, calculated 0xb0a28de5
JFFS2 notice: (104) read_dnode: header CRC failed on node at 0x486804: read 0xdda3b91, calculated 0x667a24cb
JFFS2 notice: (104) read_dnode: header CRC failed on node at 0x48679c: read 0xffffffff, calculated 0x4a4275fd
JFFS2 warning: (104) jffs2_do_read_inode_internal: no data nodes found for ino #525
JFFS2 notice: (104) jffs2_do_read_inode_internal: but it has children so we fake some modes for it
>>>>>>>>>>>>>>>>>>>>>>>>
Previously we had an ST flash and it worked perfectly. I think there might some problem with the Spansion flash. Also while programming the flash, the write is very very slow. It is taking about 15min. to write 85 sectors of 64K sector size.
Anyone who experienced these problems or has any idea about these errors??
Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/
More information about the linux-mtd
mailing list