Bug: Flash writing & suspending
Holger Schurig
hs4233 at mail.mn-solutions.de
Wed Oct 5 11:01:54 EDT 2005
> I use Kernel 2.6.13-rc2, but with the MTD (drivers/mtd/, include/mtd,
> include/linux/mtd) from today's CVS. JFFS2 is still the old one.
Oh, BTW, the same error happens also on:
a) plain 2.6.13-rc2
b) 2.6.13-rc2 with both MTD and JFFS2 from CVS (using the ./patchkernel.sh)
The reason I just installed (manually) the MTD stuff only has to do with a
suspicion about the problem source.
I suspect that maybe MTD is writing data into the StrataFlash. While this
erasing & writings happens, it probably polls the built-in state-machine
status of the chips. Probably during such an operation the suspend-to-memory
takes place. The hardware switches off the power to the StrataFlash, but MTD
doesn't know about this.
At resume time, the StataFlash get's power and resets to some initial state.
Linux thaws the processes, among them the JFFS2/MTD thread. Which continues
to poll the StrataFlash, but because it has been resetted in the meantime ...
More information about the linux-mtd
mailing list