Re: \Storage Card doesn't always reload when ATADISK reloaded

Tech-Archive recommends: Speed Up your PC by fixing your registry



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


.



Relevant Pages

  • Re: Removable media enc/dec driver design.
    ... on top of the disk driver before the "File System Recognizers" look at ... This Disk Device filter driver would decrypt all the sectors ... Once the user has provided the correct decryption key, ...
    (microsoft.public.development.device.drivers)
  • Re: Incorporating a 3rd party driver into a BSP/Image
    ... I am now able to configure the file system, and by extension get all of my ... driver suite actually run as if a CAB had installed it. ... folder and run? ... As far as 'making it part of my BSP', I'm not sure what that means ...
    (microsoft.public.windowsce.platbuilder)
  • Re: True fsync() in Linux (on IDE)
    ... All these ATA fsync() vs. write cache issues have been open for much too ... May I ask that the information whether a particular driver (file system, ... If I recall correctly from earlier patches, the barrier stuff is 1. ...
    (Linux-Kernel)
  • Re: Writing File System Device Driver & Creating Virtual Disk Drive in Windows XP [Question by a
    ... developing file system driver. ... Production code is code that will run on live production machines. ... means that if ANYTHING goes wrong, then its the fault of your driver. ... Books to pick up: ...
    (microsoft.public.development.device.drivers)
  • Re: Interview Questions
    ... loves to put on their certification exams, such as "what is the value you would use in the ... Those of us who have done driver development wonder how any ... give talks on file system driver issues. ... I tell my clients "All you can do is throw this out and get a competent programmer to ...
    (microsoft.public.vc.mfc)