Hi,
I have been using a particular TS-7260 (NAND-2k) successfully for a few months but now the NAND appears to be faulty. I have been careful in my design to limit writes to the internal flash and use tmpfs and an external USB flash drive for files that are written often.
Could this be a hardware fault? What can I try to find out more?
df shows the yaffs partition is only 21% full
# echo hello > /hello -sh: cannot create /hello: Cannot allocate memory
I went looking for files that that are less than one day old to see if any files were unexpectly being updated and only found this one which seems to be updated on each boot.
# find / -mtime -1 | grep -v "/proc" | grep -v "/dev" | grep -v "/tmp" /etc/ioctl.save
The log shows all blocks 814-1000 are unusable and some 39-104 unusable.
Apr 23 00:10:46 (none) user.warn kernel: **>> Block 814 retired A
pr 23 00:10:46 (none) user.warn kernel: **>> Block 815 needs retiring ... Apr 23 00:10:47 (none) user.warn kernel: **>> Block 999 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 999 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 1000 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 1000 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 39 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 39 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 40 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 40 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 41 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 41 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 49 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 49 re
t
ired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 50 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 50 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 51 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 51 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 55 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 55 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 57 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 57 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 58 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 58 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 59 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 59 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 63 needs retiring
<
br>Apr 23 00:10:47 (none) user.warn kernel: **>> Block 63 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 64 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 64 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 65 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 65 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 68 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 68 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 71 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 71 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Block 72 needs retiring Apr 23 00:10:47 (none) user.warn kernel: **>> Block 72 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!
!
!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> yaffs write required 696 attempts Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 7 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 7 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased block
s
Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 66 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 66 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks
A
pr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more
e
raased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 94 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 94 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraas
e
d blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 96 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 96 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no space during cache write Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 97 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 97 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:
1
0:47 (none) user.warn kernel: **>> Erasure failed 98 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 98 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 99 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 99 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 100 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 100 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no space during cache write Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 101 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 101 reti
r
ed Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 102 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 102 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 103 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 103 retired Apr 23 00:10:47 (none) user.warn kernel: **>> Erasure failed 104 Apr 23 00:10:47 (none) user.warn kernel: **>> Block 104 retired Apr 23 00:10:47 (none) user.warn kernel: yaffs tragedy: no more eraased blocks Apr 23 00:10:47 (none) user.warn kernel: !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!!
__._,_.___
__,_._,___
|