查了一下,一个外文网站上的描述很像,但是他们给出的方法不起效。
我设置Paging 为 0时无法启动,停在FMD格式化之后了。
好像是无法AUTOMOUNT。
d.shukla" a ecrit dans le message de
news: 5E3FCA91-46AE-40F7-90F1-3D563C9FFC21@xxxxxxxxxxxxxxxx
Hi
I have a strata flash present on my pxa270 board for which I am using
mainstoneII bsp. Everything works fine with the driver, but I am having
one
trouble. Once the strata flash gets full, win ce doesn't let me
delete/replace files anymore. It says not enough free space available,
delete
some files to make free space but it doesn't let me delete the file. I
have
to format the disk if it gets full but it deletes all the other files
also.
I tries to use RAMDisk just to check if I face the same thing over there.
But there after making it full, I am able to delete the files.
Another thing, once the flash gets full, I start getting compactor
messages
but the file system doesn't even get into my driver.
Following are the messages I get over the serial port:
0x83d34400: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x83d34400: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start
compactor
in critical situation!!!
0x83d34400: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any
free
sectors in a critical compaction stage. Media must be full.
0x83d34400: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x83d34400: FLASHDRV.DLL:WriteToMedia() failed.
0x83d34400: Read/Write Sector failed (112) on Sector 7
I have inserted serial messages in driver all over but I am not getting
any
of them.
Please suggest what to do?
--
GD Shukla
Try to disable paging for your flash profile
in registry. I know, that looks strange, but
100% sure paging afects compactor's
behaviour.
[HKLM\System\StorageManager\Profiles\YourFlashProfile]
"Paging"=dword:0
It is interesting!
Since setting the "Paging" to zero will supress the xxx_ReadFileWithSeek FSD
functions, dose that mean ReadFileWithSeek might affect the the behavior of
FAL's compactor thread??
paging will lock files and thus sectors so they cannot be moved around by
the compactor and thus further reducing the amount of room the FAL has to
wear level things into.
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
|