Re: \Storage Card doesn't always reload when ATADISK reloaded
- From: "Steve Maillet \(eMVP\)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 15:10:54 -0700
PNPUnloadDelay should be 0 to fix the issue you see. It is intended to delay
unloading and invalidating the block driver, file system and handles for the
driver. The idea is to allow a user to re-insert the card if it was
accidentally removed and have all open file handles remain valid.
The other thing we did (but I thought was in the QFEs was to mod the ATADISK
driver to hack up a variation of Pre-DeInit and PreClose that protected the
driver from issues of the system dismounting while it's loading as the rapid
load/unload that can happen due to bounce on that switch (or in our case the
battery contacts causing suspend/resume when inserting a new battery) that
triggers some bad error case handling problems in FileSys.exe crashing
mountable storage devices until reset.
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
.
- References:
- \Storage Card doesn't always reload when ATADISK reloaded
- From: Andrew Worsley
- Re: \Storage Card doesn't always reload when ATADISK reloaded
- From: Steve Maillet \(eMVP\)
- Re: \Storage Card doesn't always reload when ATADISK reloaded
- From: Andrew Worsley
- \Storage Card doesn't always reload when ATADISK reloaded
- Prev by Date: How to build a ARMV4 for Intel PAX25x in WinCE 5.0
- Next by Date: RE: Makeimg and registries
- Previous by thread: Re: \Storage Card doesn't always reload when ATADISK reloaded
- Next by thread: Re: \Storage Card doesn't always reload when ATADISK reloaded
- Index(es):
Relevant Pages
|