partition driver configuration problem
- From: Andrew Worsley <andrew.worsley@xxxxxxxxxxx>
- Date: Tue, 7 Jun 2005 10:57:41 +1200
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
.
- Prev by Date: Slot 0 query
- Next by Date: Re: Any chance to setup static IP for RNDIS?
- Previous by thread: Slot 0 query
- Next by thread: Missing hive files
- Index(es):
Relevant Pages
|