Re: [Yaffs] Why do I get a "gc prioritised" message?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: tike64
Date:  
To: Charles Manning, yaffs
Subject: Re: [Yaffs] Why do I get a "gc prioritised" message?
Charles:
> Please quote some actual lines out of the log, as well as /proc/yaffs
> before and after the problem starts happening.


Thanks for looking this!
Here you go:

/ # flash_eraseall /dev/mtd0
Erasing 16 Kibyte @ 3ffc000 -- 99 % complete.
/ # mount -t yaffs /dev/mtdblock0 /root/mnt
/ # cat /proc/yaffs
YAFFS built:Jan 18 2007 14:59:47
$Id: yaffs_fs.c,v 1.55 2006/12/19 21:33:41 charles Exp $
$Id: yaffs_guts.c,v 1.45 2006/11/14 03:07:17 charles Exp $

Device 0 "NAND 32MiB 3,3V 8-bit"
startBlock......... 0
endBlock........... 4095
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 4096
nTnodesCreated..... 0
nFreeTnodes........ 0
nObjectsCreated.... 100
nFreeObjects....... 96
nFreeChunks........ 131072
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 0
/ # cd /root/mnt
~/mnt # dmesg
-
-
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
~/mnt # tar xf ...
~/mnt # df
Filesystem           1k-blocks      Used Available Use% Mounted on
-
/dev/mtdblock0           65536     13136     52400  20% /root/mnt
~/mnt # cat /proc/yaffs 
YAFFS built:Jan 18 2007 14:59:47
$Id: yaffs_fs.c,v 1.55 2006/12/19 21:33:41 charles Exp $
$Id: yaffs_guts.c,v 1.45 2006/11/14 03:07:17 charles Exp $


Device 0 "NAND 32MiB 3,3V 8-bit"
startBlock......... 0
endBlock........... 4095
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3225
nTnodesCreated..... 2100
nFreeTnodes........ 26
nObjectsCreated.... 700
nFreeObjects....... 6
nFreeChunks........ 104993
nPageWrites........ 29619
nPageReads......... 2644
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 0
~/mnt # dmesg
-
-
**>> yaffs: getBlockInfo block 0 is not valid
~/mnt # cd /
/ # umount /root/mnt
/ # dmesg
-
-
save entry: isCheckpointed 0
checkpoint byte count 0
save exit: isCheckpointed 0
/ # mount -t yaffs /dev/mtdblock0 /root/mnt
/ # cat /proc/yaffs
-
nPageWrites........ 0
nPageReads......... 0
-
/ # umount /root/mnt
/ # dmesg 
c prioritised
yaffs block 383 gc prioritised
yaffs block 384 gc prioritised
yaffs block 385 gc prioritised
yaffs block 386 gc prioritised
yaffs block 387 gc prioritised
yaffs block 388 gc prioritised
yaffs block 389 gc prioritised
yaffs block 390 gc prioritised
yaffs block 391 gc prioritised
yaffs block 392 gc prioritised
yaffs block 393 gc prioritised
yaffs block 394 gc prioritised
yaffs block 395 gc prioritised
yaffs block 396 gc prioritised
yaffs block 399 gc prioritised
yaffs block 403 gc prioritised
-
-
yaffs block 862 gc prioritised
yaffs block 865 gc prioritised
yaffs block 867 gc prioritised
yaffs block 868 gc prioritised
save entry: isCheckpointed 0
checkpoint byte count 0
save exit: isCheckpointed 0
/ # mount -t yaffs /dev/mtdblock0 /root/mnt
/ # cat /proc/yaffs              (I'm seeing no changes)
YAFFS built:Jan 18 2007 14:59:47
$Id: yaffs_fs.c,v 1.55 2006/12/19 21:33:41 charles Exp $
$Id: yaffs_guts.c,v 1.45 2006/11/14 03:07:17 charles Exp $


Device 0 "NAND 32MiB 3,3V 8-bit"
startBlock......... 0
endBlock........... 4095
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 3225
nTnodesCreated..... 2100
nFreeTnodes........ 26
nObjectsCreated.... 700
nFreeObjects....... 6
nFreeChunks........ 104993
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 0


Messages look like this in /var/log/messages:

Jan 1 10:21:45 uclibc user.warn kernel: yaffs block 868 gc prioritised

And maybe this is relevant:

/ # uname -a
Linux uclibc 2.6.18-exe4007 #3 PREEMPT Thu Jan 18 14:59:55 EET 2007
armv4tl unknown

--

tike




____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367