One more problem. I start a new test. I erase the NAND, mount the FS , copy a small text file of known content to the partition, and finally umount it. I then mount it again, the file is there and the file size is correct but the content is zerod out. I am using 2K page NAND with the latest YAFFS2 codes.

Ceco

goog long <cecolong@yahoo.com> wrote:
I did a few mount and umount and received this error message. Do you know what happened?

# flash_eraseall /dev/mtd5
Erasing 128 Kibyte @ 7e80000 -- 99 % complete.
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949403.940000] yaffs: dev is 32505861 name is "mtdblock5"
[42949403.950000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
# umount /mnt/yaffs2
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949412.030000] yaffs: dev is 32505861 name is "mtdblock5"
[42949412.040000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
# umount /mnt/yaffs2
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949416.590000] yaffs: dev is 32505861 name is "mtdblock5"
[42949416.590000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
# umount /mnt/yaffs2
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949419.230000] yaffs: dev is 32505861 name is "mtdblock5"
[42949419.230000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
# umount /mnt/yaffs2
[42949420.530000] yaffs block 3 gc prioritised
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949421.630000] yaffs: dev is 32505861 name is "mtdblock5"
[42949421.630000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
# umount /mnt/yaffs2
[42949422.800000] yaffs block 3 gc prioritised
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949424.270000] yaffs: dev is 32505861 name is "mtdblock5"
[42949424.270000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
[42949424.370000] Partially written block 7 being set for retirement
[42949424.380000] Partially written block 7 being set for retirement
[42949424.390000] Partially written block 7 being set for retirement
[42949424.390000] Partially written block 7 being set for retirement
[42949424.400000] Partially written block 7 being set for retirement
[42949424.410000] Partially written block 7 being set for retirement
[42949424.410000] Partially written block 7 being set for retirement
[42949424.420000] Partially written block 7 being set for retirement
[42949424.430000] Partially written block 7 being set for retirement
[42949424.430000] Partially written block 7 being set for retirement
[42949424.440000] Partially written block 7 being set for retirement
[42949424.450000] Partially written block 7 being set for retirement
[42949424.450000] Partially written block 7 being set for retirement
[42949424.460000] Partially written block 7 being set for retirement
[42949424.470000] Partially written block 7 being set for retirement
[42949424.470000] Partially written block 7 being set for retirement
[42949424.480000] Partially written block 7 being set for retirement
[42949424.480000] Partially written block 7 being set for retirement
[42949424.490000] Partially written block 7 being set for retirement
[42949424.500000] Partially written block 7 being set for retirement
[42949424.500000] Partially written block 7 being set for retirement
[42949424.510000] Partially written block 7 being set for retirement
[42949424.520000] Partially written block 7 being set for retirement
[42949424.520000] Partially written block 7 being set for retirement
[42949424.530000] Partially written block 7 being set for retirement
[42949424.540000] Partially written block 7 being set for retirement
[42949424.540000] Partially written block 7 being set for retirement
[42949424.550000] Partially written block 7 being set for retirement
[42949424.560000] Partially written block 7 being set for retirement
[42949424.560000] Partially written block 7 being set for retirement
[42949424.570000] Partially written block 7 being set for retirement
[42949424.580000] Partially written block 7 being set for retirement
[42949424.580000] Partially written block 7 being set for retirement
[42949424.590000] Partially written block 7 being set for retirement
[42949424.600000] Partially written block 7 being set for retirement
[42949424.600000] Partially written block 7 being set for retirement
[42949424.610000] Partially written block 7 being set for retirement
[42949424.610000] Partially written block 7 being set for retirement
[42949424.620000] Partially written block 7 being set for retirement
[42949424.630000] Partially written block 7 being set for retirement
[42949424.630000] Partially written block 7 being set for retirement
[42949424.640000] Partially written block 7 being set for retirement
[42949424.650000] Partially written block 7 being set for retirement
[42949424.650000] Partially written block 7 being set for retirement
[42949424.660000] Partially written block 7 being set for retirement
[42949424.670000] Partially written block 7 being set for retirement
[42949424.670000] Partially written block 7 being set for retirement
[42949424.680000] Partially written block 7 being set for retirement
[42949424.690000] Partially written block 7 being set for retirement
[42949424.690000] Partially written block 7 being set for retirement
[42949424.700000] Partially written block 7 being set for retirement
[42949424.710000] Partially written block 7 being set for retirement
[42949424.710000] Partially written block 7 being set for retirement
[42949424.720000] Partially written block 7 being set for retirement
[42949424.730000] Partially written block 7 being set for retirement
[42949424.740000] page 449 in gc has no object
[42949424.740000] page 450 in gc has no object
[42949424.750000] page 451 in gc has no object
[42949424.750000] page 452 in gc has no object
[42949424.760000] page 453 in gc has no object
[42949424.760000] page 454 in gc has no object
[42949424.770000] page 455 in gc has no object
[42949424.770000] page 456 in gc has no object
[42949424.780000] **>> Block 7 retired
# umount /mnt/yaffs2
[42949473.850000] yaffs block 3 gc prioritised
# mount -t yaffs2 /dev/mtdblock5 /mnt/yaffs2
[42949476.920000] yaffs: dev is 32505861 name is "mtdblock5"
[42949476.920000] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
[42949476.970000] block 7 is bad
[42949477.030000] Partially written block 9 being set for retirement
[42949477.030000] Partially written block 9 being set for retirement
[42949477.040000] Partially written block 9 being set for retirement
[42949477.050000] Partially written block 9 being set for retirement
[42949477.050000] Partially written block 9 being set for retirement
[42949477.060000] Partially written block 9 being set for retirement
[42949477.070000] Partially written block 9 being set for retirement
[42949477.070000] Partially written block 9 being set for retirement
[42949477.080000] Partially written block 9 being set for retirement
[42949477.090000] Partially written block 9 being set for retirement
[42949477.090000] Partially written block 9 being set for retirement
[42949477.100000] Partially written block 9 being set for retirement
[42949477.110000] Partially written block 9 being set for retirement
[42949477.110000] Partially written block 9 being set for retirement
[42949477.120000] Partially written block 9 being set for retirement
[42949477.130000] Partially written block 9 being set for retirement
[42949477.130000] Partially written block 9 being set for retirement
[42949477.140000] Partially written block 9 being set for retirement
[42949477.150000] Partially written block 9 being set for retirement
[42949477.150000] Partially written block 9 being set for retirement
[42949477.160000] Partially written block 9 being set for retirement
[42949477.170000] Partially written block 9 being set for retirement
[42949477.170000] Partially written block 9 being set for retirement
[42949477.180000] Partially written block 9 being set for retirement
[42949477.180000] Partially written block 9 being set for retirement
[42949477.190000] Partially written block 9 being set for retirement
[42949477.200000] Partially written block 9 being set for retirement
[42949477.200000] Partially written block 9 being set for retirement
[42949477.210000] Partially written block 9 being set for retirement
[42949477.220000] Partially written block 9 being set for retirement
[42949477.220000] Partially written block 9 being set for retirement
[42949477.230000] Partially written block 9 being set for retirement
[42949477.240000] Partially written block 9 being set for retirement
[42949477.240000] Partially written block 9 being set for retirement
[42949477.250000] Partially written block 9 being set for retirement
[42949477.260000] Partially written block 9 being set for retirement
[42949477.260000] Partially written block 9 being set for retirement
[42949477.270000] Partially written block 9 being set for retirement
[42949477.280000] Partially written block 9 being set for retirement
[42949477.280000] Partially written block 9 being set for retirement
[42949477.290000] Partially written block 9 being set for retirement
[42949477.300000] Partially written block 9 being set for retirement
[42949477.300000] Partially written block 9 being set for retirement
[42949477.310000] Partially written block 9 being set for retirement
[42949477.310000] Partially written block 9 being set for retirement
[42949477.320000] Partially written block 9 being set for retirement
[42949477.330000] Partially written block 9 being set for retirement
[42949477.330000] Partially written block 9 being set for retirement
[42949477.340000] Partially written block 9 being set for retirement
[42949477.350000] Partially written block 9 being set for retirement
[42949477.350000] Partially written block 9 being set for retirement
[42949477.360000] Partially written block 9 being set for retirement
[42949477.370000] Partially written block 9 being set for retirement
[42949477.370000] Partially written block 9 being set for retirement
[42949477.380000] Partially written block 9 being set for retirement
[42949477.390000] page 576 in gc has no object
[42949477.400000] page 577 in gc has no object
[42949477.400000] page 578 in gc has no object
[42949477.410000] page 579 in gc has no object
[42949477.410000] page 580 in gc has no object
[42949477.420000] page 581 in gc has no object
[42949477.420000] page 582 in gc has no object
[42949477.430000] page 583 in gc has no object
[42949477.430000] page 584 in gc has no object
[42949477.440000] **>> Block 9 retired
[42949477.440000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.450000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.460000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.470000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.470000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.480000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.490000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.500000] yaffs tragedy:attempt to put data chunk into a non-file
[42949477.510000] yaffs tragedy:attempt to put data chunk into a non-file
# umount /mnt/yaffs2
#

Sponsored Link


Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs


Sponsored Link

Rates near 39yr lows. $510,000 Loan for $1698/mo - Calculate new house payment