Author: Murali N Date: 2010-07-28 16:27 UTC To: yaffs Subject: [Yaffs] latest mtd+yaffs code failing on .35 kernel
Hi,
did any one try the latest MTD + YAFFS code on .35-rc3 kernel?
I am unable to boot the system with .35 kernel using my driver. But
the same driver is working fine with .32 kernel.
I have not seen any errors messages from the driver, MTD & YAFFS. But
seeing below messages from the YAFFS layer.
[ 2228.509124] block is bad seq 1431655765 state 2
[ 2228.509155] Block scanning block 576 state 2 seq 1431655765
[ 2228.509155] nandmtd2_QueryNANDBlock 576
[ 2228.509857] nandmtd2_ReadChunkWithTagsFromNAND chunk 36864 data
(null) tags c6399d20
[ 2228.509887] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.509948] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.509979] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.510009] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.510070] block is bad seq 1431655765 state 2
[ 2228.510070] Block scanning block 577 state 2 seq 1431655765
[ 2228.510101] nandmtd2_QueryNANDBlock 577
[ 2228.510803] nandmtd2_ReadChunkWithTagsFromNAND chunk 36928 data
(null) tags c6399d20
[ 2228.510833] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.510864] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.510925] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.510955] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.510986] block is bad seq 1431655765 state 2
[ 2228.511016] Block scanning block 578 state 2 seq 1431655765
[ 2228.511047] nandmtd2_QueryNANDBlock 578
[ 2228.511749] nandmtd2_ReadChunkWithTagsFromNAND chunk 36992 data
(null) tags c6399d20
[ 2228.511779] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.511810] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.511871] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.511901] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.511932] block is bad seq 1431655765 state 2
[ 2228.511962] Block scanning block 579 state 2 seq 1431655765
[ 2228.511993] nandmtd2_QueryNANDBlock 579
[ 2228.512695] nandmtd2_ReadChunkWithTagsFromNAND chunk 37056 data
(null) tags c6399d20
[ 2228.512725] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.512756] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.512786] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.512847] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.512878] block is bad seq 1431655765 state 2
[ 2228.512908] Block scanning block 580 state 2 seq 1431655765
[ 2228.512908] nandmtd2_QueryNANDBlock 580
[ 2228.513610] nandmtd2_ReadChunkWithTagsFromNAND chunk 37120 data
(null) tags c6399d20
[ 2228.513671] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.513702] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.513732] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.513793] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.513824] block is bad seq 1431655765 state 2
[ 2228.513854] Block scanning block 581 state 2 seq 1431655765
[ 2228.513854] nandmtd2_QueryNANDBlock 581
[ 2228.514556] nandmtd2_ReadChunkWithTagsFromNAND chunk 37184 data
(null) tags c6399d20
[ 2228.514587] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.514648] ext.tags eccres 0 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.514678] packed tags obj 1431655765 chunk 1431655765 byte
1431655765 seq 1431655765
[ 2228.514709] ext.tags eccres 1 blkbad 0 chused 1 obj 1431655765
chunk1431655765 byte 1431655765 del 0 ser 0 seq 1431655765
[ 2228.514770] block is bad seq 1431655765 state 2
Enabled the below options for YAFFS.
CONFIG_YAFFS_FS=y
CONFIG_YAFFS_YAFFS1=y
# CONFIG_YAFFS_9BYTE_TAGS is not set
# CONFIG_YAFFS_DOES_ECC is not set
CONFIG_YAFFS_YAFFS2=y
CONFIG_YAFFS_AUTO_YAFFS2=y
CONFIG_YAFFS_DISABLE_TAGS_ECC=y
# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
# CONFIG_YAFFS_EMPTY_LOST_AND_FOUND is not set
# CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING is not set
# CONFIG_YAFFS_DISABLE_BACKGROUND is not set
Any inputs are appreciated.
--
Regards,
Murali N