Hi, I am running an x86 CEPC (5.0) with PCI IDE drives configured as
follows:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device0]
"Prefix"="DSK"
"Dll"="ATAPI.dll"
"Settings"=dword:f
"DefaultDMAMode"=dword:0
"DeviceId"=dword:0
"Ioctl"=dword:4
"DoubleBufferSize"=dword:10000
"Protection" = dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; Uncomment the following lines if you want to enable slave device.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device1]
...

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"="Hard Disk"

Using standard FATFS file system.

I am able to see the drives in storage manager and on my system in CE,
but I cannot dismount the volume/partition. The error message I see
via CTLPNL storage manager is "Unable to dismount store", and the body
of the error dialog is empty. Running a debug build doesn't appear to
give me any useful info either.

Any ideas or help is appreciated
-t

Re: Unable to dismount by Michel

Michel
Mon May 05 16:48:26 PDT 2008

Are you using that volume to store the hive, or do you mount it as root?
It doesn't show that you do in the HDProfile registry settings, but
maybe you didn't post it all.

Try turning on all the debugzones of filesys and try to dismount on a
debug image again. It should give you a reason. If not, just set a
breakpoint in the private fs code where it dismounts and step through to
see why it doesn't.


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

trucker wrote:
> Hi, I am running an x86 CEPC (5.0) with PCI IDE drives configured as
> follows:
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device0]
> "Prefix"="DSK"
> "Dll"="ATAPI.dll"
> "Settings"=dword:f
> "DefaultDMAMode"=dword:0
> "DeviceId"=dword:0
> "Ioctl"=dword:4
> "DoubleBufferSize"=dword:10000
> "Protection" = dword:0
> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> ; Uncomment the following lines if you want to enable slave device.
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device1]
> ....
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
> "Name"="IDE Hard Disk Drive"
> "Folder"="Hard Disk"
>
> Using standard FATFS file system.
>
> I am able to see the drives in storage manager and on my system in CE,
> but I cannot dismount the volume/partition. The error message I see
> via CTLPNL storage manager is "Unable to dismount store", and the body
> of the error dialog is empty. Running a debug build doesn't appear to
> give me any useful info either.
>
> Any ideas or help is appreciated
> -t

Re: Unable to dismount by trucker

trucker
Tue May 06 12:31:21 PDT 2008

The debug is quite vague in the DismountStore function, but eventually
I tracked it down to an unknown registry key that I did not know
existed in my common.reg:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"MountPermanent"=dword:1

Does not allow the filesystem to be dismounted