From xenepg2@gmail.com Sat Apr 19 11:01:41 2008
Received: from wf-out-1314.google.com ([209.85.200.168])
	by stoneboat.aleph1.co.uk with esmtp (Exim 4.63)
	(envelope-from <xenepg2@gmail.com>) id 1Jn9sy-0002Tn-0E
	for yaffs@lists.aleph1.co.uk; Sat, 19 Apr 2008 11:01:41 +0100
Received: by wf-out-1314.google.com with SMTP id 25so1135428wfa.23
	for <yaffs@lists.aleph1.co.uk>; Sat, 19 Apr 2008 03:01:30 -0700 (PDT)
Received: by 10.143.31.4 with SMTP id i4mr967628wfj.87.1208599290580;
	Sat, 19 Apr 2008 03:01:30 -0700 (PDT)
Received: by 10.142.222.10 with HTTP; Sat, 19 Apr 2008 03:01:30 -0700 (PDT)
Message-ID: <c6a2c6680804190301n11456ecan730b420c3875591a@mail.gmail.com>
Date: Sat, 19 Apr 2008 19:01:30 +0900
From: "g2 xenep" <xenepg2@gmail.com>
To: yaffs@lists.aleph1.co.uk
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_6451_7381247.1208599290583"
X-SA-Exim-Connect-IP: 209.85.200.168
X-SA-Exim-Mail-From: xenepg2@gmail.com
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	SPF_PASS autolearn=ham version=3.2.3
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: [Yaffs] yaffs with kernel 2.6.23 trouble filesystem mount again
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>, 
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Sat, 19 Apr 2008 10:01:41 -0000

------=_Part_6451_7381247.1208599290583
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello

I am the following now and it embarrasses it.

Please teach the solution case and the examined point.

Please anybody help!
1.flasheraseall
2.mount
2.mkdir and createfile
3.umount
4.mount


kernel 2.6.23

[root@ (ttymxc0) \w]\$ mount -t yaffs2 /dev/mtdblock11 /mnt/fs
yaffs: dev is 32505867 name is "mtdblock11"
[root@ (ttymxc0) \w]\$ mkdir /mnt/fs/test
[root@ (ttymxc0) \w]\$ vi /mnt/fs/test/test.txt
[root@ (ttymxc0) \w]\$ umount /mnt/fs

[root@ (ttymxc0) \w]\$ mount -t yaffs2 /dev/mtdblock11 /mnt/fs
yaffs: dev is 32505867 name is "mtdblock11"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.11, "mtdblock11"
block 3062 is bad
mount: mounting /dev/mtdblock11 on /mnt/fs failed: Invalid argument
[root@ (ttymxc0) \w]\$

<<<<<after disp Invalid argument log>>>>

[root@ (ttymxc0) \w]\$ cat /proc/yaffs
YAFFS built:Apr 19 2008 15:36:57
$Id: yaffs_fs.c,v 1.65 2007/12/13 15:35:17 wookey Exp $
$Id: yaffs_guts.c,v 1.54 2007/12/13 15:35:17 wookey Exp $

Device 0 "Contents"
startBlock......... 0
endBlock........... 3679
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3676
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 0
nObjectsCreated.... 200
nFreeObjects....... 0
nFreeChunks........ 235389
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1

Device 1 "Contents"
startBlock......... 0
endBlock........... 3679
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3676
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 0
nObjectsCreated.... 200
nFreeObjects....... 0
nFreeChunks........ 235389
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1

Device 2 "Contents"
startBlock......... 0
endBlock........... 3679
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3676
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 0
nObjectsCreated.... 200
nFreeObjects....... 0
nFreeChunks........ 235389
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1

Device 3 "Contents"
startBlock......... 0
endBlock........... 3679
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3676
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 0
nObjectsCreated.... 200
nFreeObjects....... 0
nFreeChunks........ 235389
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
[root@ (ttymxc0) \w]\$

Thanks
 Gulliver

------=_Part_6451_7381247.1208599290583
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<p>Hello<br>&nbsp;<br>I am the following now and it embarrasses it. </p>
<p>Please teach the solution case and the examined point. </p>
<p>Please anybody help!<br>1.flasheraseall<br>2.mount<br>2.mkdir and createfile<br>3.umount<br>4.mount</p>
<p><br>kernel 2.6.23</p>
<p>[root@ (ttymxc0) \w]\$ mount -t yaffs2 /dev/mtdblock11 /mnt/fs<br>yaffs: dev is 32505867 name is &quot;mtdblock11&quot;<br>[root@ (ttymxc0) \w]\$ mkdir /mnt/fs/test<br>[root@ (ttymxc0) \w]\$ vi /mnt/fs/test/test.txt<br>
[root@ (ttymxc0) \w]\$ umount /mnt/fs</p>
<p>[root@ (ttymxc0) \w]\$ mount -t yaffs2 /dev/mtdblock11 /mnt/fs<br>yaffs: dev is 32505867 name is &quot;mtdblock11&quot;<br>yaffs: passed flags &quot;&quot;<br>yaffs: Attempting MTD mount on 31.11, &quot;mtdblock11&quot;<br>
block 3062 is bad<br>mount: mounting /dev/mtdblock11 on /mnt/fs failed: Invalid argument<br>[root@ (ttymxc0) \w]\$</p>
<p>&lt;&lt;&lt;&lt;&lt;after disp Invalid argument log&gt;&gt;&gt;&gt;</p>
<p>[root@ (ttymxc0) \w]\$ cat /proc/yaffs<br>YAFFS built:Apr 19 2008 15:36:57<br>$Id: yaffs_fs.c,v 1.65 2007/12/13 15:35:17 wookey Exp $<br>$Id: yaffs_guts.c,v 1.54 2007/12/13 15:35:17 wookey Exp $</p>
<p>Device 0 &quot;Contents&quot;<br>startBlock......... 0<br>endBlock........... 3679<br>nDataBytesPerChunk. 2048<br>chunkGroupBits..... 0<br>chunkGroupSize..... 1<br>nErasedBlocks...... 3676<br>nReservedBlocks.... 5<br>
blocksInCheckpoint. 0<br>nTnodesCreated..... 100<br>nFreeTnodes........ 0<br>nObjectsCreated.... 200<br>nFreeObjects....... 0<br>nFreeChunks........ 235389<br>nPageWrites........ 0<br>nPageReads......... 0<br>nBlockErasures..... 0<br>
nGCCopies.......... 0<br>garbageCollections. 0<br>passiveGCs......... 0<br>nRetriedWrites..... 0<br>nShortOpCaches..... 10<br>nRetireBlocks...... 0<br>eccFixed........... 0<br>eccUnfixed......... 0<br>tagsEccFixed....... 0<br>
tagsEccUnfixed..... 0<br>cacheHits.......... 0<br>nDeletedFiles...... 0<br>nUnlinkedFiles..... 0<br>nBackgroudDeletions 0<br>useNANDECC......... 1<br>isYaffs2........... 1</p>
<p>Device 1 &quot;Contents&quot;<br>startBlock......... 0<br>endBlock........... 3679<br>nDataBytesPerChunk. 2048<br>chunkGroupBits..... 0<br>chunkGroupSize..... 1<br>nErasedBlocks...... 3676<br>nReservedBlocks.... 5<br>
blocksInCheckpoint. 0<br>nTnodesCreated..... 100<br>nFreeTnodes........ 0<br>nObjectsCreated.... 200<br>nFreeObjects....... 0<br>nFreeChunks........ 235389<br>nPageWrites........ 0<br>nPageReads......... 0<br>nBlockErasures..... 0<br>
nGCCopies.......... 0<br>garbageCollections. 0<br>passiveGCs......... 0<br>nRetriedWrites..... 0<br>nShortOpCaches..... 10<br>nRetireBlocks...... 0<br>eccFixed........... 0<br>eccUnfixed......... 0<br>tagsEccFixed....... 0<br>
tagsEccUnfixed..... 0<br>cacheHits.......... 0<br>nDeletedFiles...... 0<br>nUnlinkedFiles..... 0<br>nBackgroudDeletions 0<br>useNANDECC......... 1<br>isYaffs2........... 1</p>
<p>Device 2 &quot;Contents&quot;<br>startBlock......... 0<br>endBlock........... 3679<br>nDataBytesPerChunk. 2048<br>chunkGroupBits..... 0<br>chunkGroupSize..... 1<br>nErasedBlocks...... 3676<br>nReservedBlocks.... 5<br>
blocksInCheckpoint. 0<br>nTnodesCreated..... 100<br>nFreeTnodes........ 0<br>nObjectsCreated.... 200<br>nFreeObjects....... 0<br>nFreeChunks........ 235389<br>nPageWrites........ 0<br>nPageReads......... 0<br>nBlockErasures..... 0<br>
nGCCopies.......... 0<br>garbageCollections. 0<br>passiveGCs......... 0<br>nRetriedWrites..... 0<br>nShortOpCaches..... 10<br>nRetireBlocks...... 0<br>eccFixed........... 0<br>eccUnfixed......... 0<br>tagsEccFixed....... 0<br>
tagsEccUnfixed..... 0<br>cacheHits.......... 0<br>nDeletedFiles...... 0<br>nUnlinkedFiles..... 0<br>nBackgroudDeletions 0<br>useNANDECC......... 1<br>isYaffs2........... 1</p>
<p>Device 3 &quot;Contents&quot;<br>startBlock......... 0<br>endBlock........... 3679<br>nDataBytesPerChunk. 2048<br>chunkGroupBits..... 0<br>chunkGroupSize..... 1<br>nErasedBlocks...... 3676<br>nReservedBlocks.... 5<br>
blocksInCheckpoint. 0<br>nTnodesCreated..... 100<br>nFreeTnodes........ 0<br>nObjectsCreated.... 200<br>nFreeObjects....... 0<br>nFreeChunks........ 235389<br>nPageWrites........ 0<br>nPageReads......... 0<br>nBlockErasures..... 0<br>
nGCCopies.......... 0<br>garbageCollections. 0<br>passiveGCs......... 0<br>nRetriedWrites..... 0<br>nShortOpCaches..... 10<br>nRetireBlocks...... 0<br>eccFixed........... 0<br>eccUnfixed......... 0<br>tagsEccFixed....... 0<br>
tagsEccUnfixed..... 0<br>cacheHits.......... 0<br>nDeletedFiles...... 0<br>nUnlinkedFiles..... 0<br>nBackgroudDeletions 0<br>useNANDECC......... 1<br>isYaffs2........... 1<br>[root@ (ttymxc0) \w]\$</p>
<p>Thanks<br>&nbsp;Gulliver<br></p>

------=_Part_6451_7381247.1208599290583--

