Warning, cached dirty sector count inconsistent
- From: "Hector Bujanda" <hector_bujanda@xxxxxxxx>
- Date: Wed, 30 Jul 2008 11:51:47 +0200
Hi mates,
I have a WinCE6.0 based device with a FMD driver to get access to a NAND
flash and a filesystem on top of it (extFAT).
Before installing RC2 it seemed to work fine.
After installing RC2, we were very interested in the new MDD layer with Wear
leveling features so we did a couple of changes in the registry and the
driver to make use of it through a kind of wrapper (not doing a complete new
flash driver):
- driver:
links to fmdwrapperpdd.lib instead of fal.lib
changed dll name from smflash.dll to nandfmd.dll
*.def file changed
- registry:
"PartitionDriver" from mspart.dll to flashpart.dll
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
old:
"Dll"="smflash.dll"
new:
"Dll"="flashmdd.dll"
"FlashPddDll"="nandfmd.dll"
The change worked fine and I had again a filesystem available when WinCE
boots. The only difference (from the user point of view) I could detect is
that now ControlPannel\StorageManager reports the total size of the flash
instead of the real size I leave for the filesystem (I protect some areas of
the flash by returning BLOCK_STATUS_BAD in FMD_GetBlockStatus)
But after doing some tests, I've found a totally reproducable problem.
When I fill in the filesystem over 95% (more or less). I get plenty of
warnings like:
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x00000024
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x000000c3
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x0000019b
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x0000002d
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x0000015a
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x000002d5
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x000002e4
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x00000070
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x0000014c
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x00000090
Compactor::CompactDataBlock() - Warning, cached dirty sector count
inconsistent for block 0x00000175
The warnings appear sometimes as I finish the copy, sometimes after a
reboot....
Every time I reboot a get plenty of warnings again... but with different
block addresses.
The filesystem seems to be OK anyway, but it's quite anoying.
I don't find where these messages come (I've looked for them both in public
and private folders).
I've installed QFE untill June08 in case it solved it but it didn't. The
only difference is that now I can use BLOCK_STATUS_RESERVED to protect some
areas of my flash.
Does anybody know where this comes from??
Thanks in advance, Buji
.
- Prev by Date: [WM6] Memory slider in Windows Mobile 6
- Next by Date: Re: How to add extra PID info in WinCE USB description ?
- Previous by thread: [WM6] Memory slider in Windows Mobile 6
- Next by thread: Re: How to add extra PID info in WinCE USB description ?
- Index(es):
Relevant Pages
|