partition driver configuration problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello all,

I am having difficulty formatting/partitioning a CompactFlash card
(CE.NET 4.2 device). My device has two cards - internal and external,
and we use different profiles for each. The external card is the one I'm
having trouble with, which uses the default "PCMCIA" storage manager
profile, with a little tweak to turn off paging, eg

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA\FATFS]
"Paging"=dword:0

For some reason, a CF card that is formatted as FAT16 under XP won't end
up using the standard mspart.dll partition driver, and ends up reverting
to the "null" partition driver instead (which doesn't implement
formatting/partitioning functions...).

I've stepped through the storage manager code when the card is inserted,
and it successfully loads the mspart.dll driver in the
CStore::MountStore() function. However, it then tries to call the
OpenStore() function on the newly loaded driver, which returns
ERROR_DEVICE_NOT_PARTITIONED.
As a result, the CStore::MountStore() deletes the mspart.dll driver
instance, and instead just loads the null parition driver.

Does anyone understand why this happens - I want to format and partition
the card, but cannot do so because the necessary mspart partition driver
(that should be used by default with the PCMCIA profile) gets replaced
with the null driver each time the card is inserted.

Am I doing something wrong, or is something missing from the PCMCIA
profile perhaps? I've looked at the PCMCIA profile settings with the
remote reg editor, and they look fine to me (all the default settings
are in place).

Andrew
.



Relevant Pages

  • RE: [UPDATED PATCH] EFI support for ia32 kernels
    ... >> reuse a single driver image for multiple architectures assuming there ... As one of the people responsible for the EFI Specification and our ... Perhaps the UNDI network card interface that Intel developed ... BIOS can't shadow that much ROM code. ...
    (Linux-Kernel)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)
  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB 2.0 All-in-1 card reader cant switch cards without unplugging
    ... On other ones I've used a drive letter shows ... as if the original card is still inserted. ... can have a unique identity for driver installation ... USB hard drive enclosure is detected. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Software Conundrum, Clarkdale
    ... a driver would be virtually identical to a WinXP driver). ... to Win2K, I decided the video card I picked up, would support both. ... of Windows 7, relies on hardware virtualization (I cannot use ...
    (alt.comp.hardware.pc-homebuilt)