I'm booting my box with CF and there is a HDD (We have geodied hence the
registry geoide.reg) which is detected as 'Disk' and the CF has been
detected as 'Disk1'. Everything is well and good. But if I create any
directory or files on 'Disk' that is HDD it is not persistent after I
reboot the box. What changes I have to make in the registry to solve
this issue ?

Here are my registry settings:-

; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountFlags"=dword:0
"DefaultFileSystem"=""
"PartitionDriverName"="MSPART"
"Folder"=LOC_STORE_DEFAULT_FOLDER
; @CESYSGEN IF PM_PM_DEFAULT_PDD
"ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD



; HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_ATAPI
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"=LOC_STORE_HD_FOLDER

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:0


-----------------------------------------------------------------
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF
on your
; install media.
;

; This file is to be included in platform.reg if required.
;
; $(PCI_BUS_ROOT) is a variable that needs to be set in the including
; platform.reg. It's value will be something like
; HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI

; SpawnFunction specified in platform.reg.

[$(PCI_BUS_ROOT)\Template\GeodeIDE]
"IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
"Prefix"="IDE"
"Dll"="atapi.dll"
"Order"=dword:2
"Class"=dword:01
"SubClass"=dword:01
"VendorID"=dword:1078
"ConfigEntry"="GenericConfig" ; PCI configuration entry point
"Legacy"=dword:01 ; legacy, use Irq for primary and
Irq+1 for secondary
"Irq"=dword:0E ; 14
"SysIntr"=dword:00 ; SysIntr not specified
"DMAAlignment"=dword:10 ; default DMA alignment
"SoftResetTimeout"=dword:03 ; ATA/ATAPI spec defines 31s
ceiling; this is too long
"StatusPollCycles"=dword:100 ; Status register DRQ/BSY polling;
256 poll cycles
"StatusPollsPerCycle"=dword:20 ; Status register DRQ/BSY polling;
32 polls per cycle
"StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5
milliseconds between poll cycles
; "IsrDll"="" ; not required
; "IsrHandler"="" ; not required
"RegisterStride"=dword:01 ; ATA register stride; register
block is contiguous
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:01 ; enable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:00 ; device 0, i.e., primary master
"TransferMode"=dword:FF ; use device default transfer mode
(Ultra DMA 3, 4 require 80-conductor cable)
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device1]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:01 ; enable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:01 ; device 1, i.e., primary slave
"TransferMode"=dword:FF ; use device default transfer mode
(Ultra DMA 3, 4 require 80-conductor cable)
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device2]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:01 ; enable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:02 ; device 2, i.e., secondary master
"TransferMode"=dword:FF ; use device default transfer mode
(Ultra DMA 3, 4 require 80-conductor cable)
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device3]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:01 ; enable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:03 ; device 3, i.e., secondary slave
"TransferMode"=dword:FF ; use device default transfer mode
(Ultra DMA 3, 4 require 80-conductor cable)
IF PRJ_ENABLE_FSREGHIVE
; HIVE BOOT SECTION
[$(PCI_BUS_ROOT)\Template\GeodeIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
"Flags"=dword:1000
; END HIVE BOOT SECTION
ENDIF PRJ_ENABLE_FSREGHIVE

Re: Folders created on the HDD are not persistence across reboots. by Paul

Paul
Thu Apr 17 08:51:44 PDT 2008

I don't believe you, sorry. I see no sign that Disk1 is definitely the disk
that you're talking about. Windows CE doesn't randomly delete folders from
hard disks... If you've actually created a folder on a hard disk and you
can see it during one boot, then, unless the disk is being reformatted,
mounted under a different name the next time, or unless some code running on
the system that is *not* from Microsoft is deleting the folder, it's still
there the next time.

Paul T.

"Esha" <iimeandmyself@yahoo.com> wrote in message
news:e9497hIoIHA.1580@TK2MSFTNGP06.phx.gbl...
> I'm booting my box with CF and there is a HDD (We have geodied hence the
> registry geoide.reg) which is detected as 'Disk' and the CF has been
> detected as 'Disk1'. Everything is well and good. But if I create any
> directory or files on 'Disk' that is HDD it is not persistent after I
> reboot the box. What changes I have to make in the registry to solve this
> issue ?
>
> Here are my registry settings:-
>
> ; HIVE BOOT SECTION
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
> "AutoMount"=dword:1
> "AutoPart"=dword:1
> "AutoFormat"=dword:1
> "MountFlags"=dword:0
> "DefaultFileSystem"=""
> "PartitionDriverName"="MSPART"
> "Folder"=LOC_STORE_DEFAULT_FOLDER
> ; @CESYSGEN IF PM_PM_DEFAULT_PDD
> "ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
> ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
>
>
>
> ; HIVE BOOT SECTION
> ; @CESYSGEN IF CE_MODULES_ATAPI
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
> "Name"="IDE Hard Disk Drive"
> "Folder"=LOC_STORE_HD_FOLDER
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
> "EnableCacheWarm"=dword:0
>
>
> -----------------------------------------------------------------
> ;
> ; Copyright (c) Microsoft Corporation. All rights reserved.
> ;
> ;
> ; Use of this source code is subject to the terms of the Microsoft
> end-user
> ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
> ; If you did not accept the terms of the EULA, you are not authorized to
> use
> ; this source code. For a copy of the EULA, please see the LICENSE.RTF on
> your
> ; install media.
> ;
>
> ; This file is to be included in platform.reg if required.
> ;
> ; $(PCI_BUS_ROOT) is a variable that needs to be set in the including
> ; platform.reg. It's value will be something like
> ; HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI
>
> ; SpawnFunction specified in platform.reg.
>
> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
> "IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
> "Prefix"="IDE"
> "Dll"="atapi.dll"
> "Order"=dword:2
> "Class"=dword:01
> "SubClass"=dword:01
> "VendorID"=dword:1078
> "ConfigEntry"="GenericConfig" ; PCI configuration entry point
> "Legacy"=dword:01 ; legacy, use Irq for primary and Irq+1
> for secondary
> "Irq"=dword:0E ; 14
> "SysIntr"=dword:00 ; SysIntr not specified
> "DMAAlignment"=dword:10 ; default DMA alignment
> "SoftResetTimeout"=dword:03 ; ATA/ATAPI spec defines 31s ceiling;
> this is too long
> "StatusPollCycles"=dword:100 ; Status register DRQ/BSY polling; 256
> poll cycles
> "StatusPollsPerCycle"=dword:20 ; Status register DRQ/BSY polling; 32
> polls per cycle
> "StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5
> milliseconds between poll cycles
> ; "IsrDll"="" ; not required
> ; "IsrHandler"="" ; not required
> "RegisterStride"=dword:01 ; ATA register stride; register block
> is contiguous
> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "Prefix"="DSK"
> "Dll"="atapi.dll"
> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
> "DMA"=dword:01 ; enable DMA
> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
> "WriteCache"=dword:01 ; enable on-disk write cache
> "LookAhead"=dword:01 ; enable on-disk look-ahead
> "DeviceId"=dword:00 ; device 0, i.e., primary master
> "TransferMode"=dword:FF ; use device default transfer mode
> (Ultra DMA 3, 4 require 80-conductor cable)
> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device1]
> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "Prefix"="DSK"
> "Dll"="atapi.dll"
> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
> "DMA"=dword:01 ; enable DMA
> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
> "WriteCache"=dword:01 ; enable on-disk write cache
> "LookAhead"=dword:01 ; enable on-disk look-ahead
> "DeviceId"=dword:01 ; device 1, i.e., primary slave
> "TransferMode"=dword:FF ; use device default transfer mode
> (Ultra DMA 3, 4 require 80-conductor cable)
> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device2]
> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "Prefix"="DSK"
> "Dll"="atapi.dll"
> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
> "DMA"=dword:01 ; enable DMA
> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
> "WriteCache"=dword:01 ; enable on-disk write cache
> "LookAhead"=dword:01 ; enable on-disk look-ahead
> "DeviceId"=dword:02 ; device 2, i.e., secondary master
> "TransferMode"=dword:FF ; use device default transfer mode
> (Ultra DMA 3, 4 require 80-conductor cable)
> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device3]
> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "Prefix"="DSK"
> "Dll"="atapi.dll"
> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
> "DMA"=dword:01 ; enable DMA
> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
> "WriteCache"=dword:01 ; enable on-disk write cache
> "LookAhead"=dword:01 ; enable on-disk look-ahead
> "DeviceId"=dword:03 ; device 3, i.e., secondary slave
> "TransferMode"=dword:FF ; use device default transfer mode
> (Ultra DMA 3, 4 require 80-conductor cable)
> IF PRJ_ENABLE_FSREGHIVE
> ; HIVE BOOT SECTION
> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
> "Flags"=dword:1000
> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
> "Flags"=dword:1000
> ; END HIVE BOOT SECTION
> ENDIF PRJ_ENABLE_FSREGHIVE



Re: Folders created on the HDD are not persistence across reboots. by Esha

Esha
Thu Apr 17 22:40:52 PDT 2008

But it is happening ! Here are the steps.

1. I boot my mahine with wince 5.0 using CF.
2. Hard disk and CF are detected and they are shown with the icons 'Hard
Disk' (HDD) and 'Hard Disk2' (CF, verified the contents).
3. I create a 'New Folder' inside 'Hard Disk' and even copy a huge file
of 25MB into this new folder.
4. I reboot the machine
5. And boot the machine using the CF again, see two icons for 'Hard
Disk' and 'Hard Disk2' but 'Hard Disk' done not contain the folder as
well as the huge file i had copied. 'Hard Disk2' is the CF contents
which are intact.
6. I insert a USB stick and that was seen as 'Hard Disk3' in the next
boot. I created a new folder on this mount and copied the same huge file
and rebooted the system.
7. After the machine boots I can see 'Hard Disk', 'Hard Disk2' and 'Hard
Disk3' and there is no new folder inside 'Hard Disk' but all are still
present in "Hard Disk3' (USB stick) after roobing.

OS- Wince 5.0
Hard Disk = FATFS (HDD)
Hard Disk2 = CF
Hard Disk 3 = USB Stick

So is there any problem with the registery keys...


[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:00000001
"AutoPart"=dword:00000001
"AutoFormat"=dword:00000001
"MountFlags"=dword:00000002
"DefaultFileSystem"="FATFS"
"PartitionDriverName"="MSPART"
"Folder"="Mounted Volume"
"ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA]
"Name"="PCMCIA/Compact Flash Device"
"Folder"="Storage Card"

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

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:00000000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile]
"Name"="IDE CDROM/DVD Drive"
"Folder"="CDROM Drive"
"DefaultFileSystem"="UDFS"
"PartitionDriver"=""

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile\PartitionTable]

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile]
"Name"="USB Hard Disk Drive"
"Folder"="Hard Disk"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile\FATFS]
"EnableCacheWarm"=dword:00000000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile]
"Name"="USB Floppy Disk Drive"
"Folder"="Floppy Drive"
"DefaultFileSystem"="FATFS"
"PartitionDriver"=""

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBCDProfile]
"Name"="USB CDROM/DVD Drive"
"Folder"="CDROM Drive"
"DefaultFileSystem"="UDFS"
"PartitionDriver"=""

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBCDProfile\PartitionTable]


Paul G. Tobey [eMVP] wrote:
> I don't believe you, sorry. I see no sign that Disk1 is definitely the disk
> that you're talking about. Windows CE doesn't randomly delete folders from
> hard disks... If you've actually created a folder on a hard disk and you
> can see it during one boot, then, unless the disk is being reformatted,
> mounted under a different name the next time, or unless some code running on
> the system that is *not* from Microsoft is deleting the folder, it's still
> there the next time.
>
> Paul T.
>
> "Esha" <iimeandmyself@yahoo.com> wrote in message
> news:e9497hIoIHA.1580@TK2MSFTNGP06.phx.gbl...
>> I'm booting my box with CF and there is a HDD (We have geodied hence the
>> registry geoide.reg) which is detected as 'Disk' and the CF has been
>> detected as 'Disk1'. Everything is well and good. But if I create any
>> directory or files on 'Disk' that is HDD it is not persistent after I
>> reboot the box. What changes I have to make in the registry to solve this
>> issue ?
>>
>> Here are my registry settings:-
>>
>> ; HIVE BOOT SECTION
>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
>> "AutoMount"=dword:1
>> "AutoPart"=dword:1
>> "AutoFormat"=dword:1
>> "MountFlags"=dword:0
>> "DefaultFileSystem"=""
>> "PartitionDriverName"="MSPART"
>> "Folder"=LOC_STORE_DEFAULT_FOLDER
>> ; @CESYSGEN IF PM_PM_DEFAULT_PDD
>> "ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
>> ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
>>
>>
>>
>> ; HIVE BOOT SECTION
>> ; @CESYSGEN IF CE_MODULES_ATAPI
>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
>> "Name"="IDE Hard Disk Drive"
>> "Folder"=LOC_STORE_HD_FOLDER
>>
>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
>> "EnableCacheWarm"=dword:0
>>
>>
>> -----------------------------------------------------------------
>> ;
>> ; Copyright (c) Microsoft Corporation. All rights reserved.
>> ;
>> ;
>> ; Use of this source code is subject to the terms of the Microsoft
>> end-user
>> ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
>> ; If you did not accept the terms of the EULA, you are not authorized to
>> use
>> ; this source code. For a copy of the EULA, please see the LICENSE.RTF on
>> your
>> ; install media.
>> ;
>>
>> ; This file is to be included in platform.reg if required.
>> ;
>> ; $(PCI_BUS_ROOT) is a variable that needs to be set in the including
>> ; platform.reg. It's value will be something like
>> ; HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI
>>
>> ; SpawnFunction specified in platform.reg.
>>
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
>> "IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
>> "Prefix"="IDE"
>> "Dll"="atapi.dll"
>> "Order"=dword:2
>> "Class"=dword:01
>> "SubClass"=dword:01
>> "VendorID"=dword:1078
>> "ConfigEntry"="GenericConfig" ; PCI configuration entry point
>> "Legacy"=dword:01 ; legacy, use Irq for primary and Irq+1
>> for secondary
>> "Irq"=dword:0E ; 14
>> "SysIntr"=dword:00 ; SysIntr not specified
>> "DMAAlignment"=dword:10 ; default DMA alignment
>> "SoftResetTimeout"=dword:03 ; ATA/ATAPI spec defines 31s ceiling;
>> this is too long
>> "StatusPollCycles"=dword:100 ; Status register DRQ/BSY polling; 256
>> poll cycles
>> "StatusPollsPerCycle"=dword:20 ; Status register DRQ/BSY polling; 32
>> polls per cycle
>> "StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5
>> milliseconds between poll cycles
>> ; "IsrDll"="" ; not required
>> ; "IsrHandler"="" ; not required
>> "RegisterStride"=dword:01 ; ATA register stride; register block
>> is contiguous
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> "Prefix"="DSK"
>> "Dll"="atapi.dll"
>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>> "DMA"=dword:01 ; enable DMA
>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>> "WriteCache"=dword:01 ; enable on-disk write cache
>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>> "DeviceId"=dword:00 ; device 0, i.e., primary master
>> "TransferMode"=dword:FF ; use device default transfer mode
>> (Ultra DMA 3, 4 require 80-conductor cable)
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device1]
>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> "Prefix"="DSK"
>> "Dll"="atapi.dll"
>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>> "DMA"=dword:01 ; enable DMA
>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>> "WriteCache"=dword:01 ; enable on-disk write cache
>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>> "DeviceId"=dword:01 ; device 1, i.e., primary slave
>> "TransferMode"=dword:FF ; use device default transfer mode
>> (Ultra DMA 3, 4 require 80-conductor cable)
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device2]
>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> "Prefix"="DSK"
>> "Dll"="atapi.dll"
>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>> "DMA"=dword:01 ; enable DMA
>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>> "WriteCache"=dword:01 ; enable on-disk write cache
>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>> "DeviceId"=dword:02 ; device 2, i.e., secondary master
>> "TransferMode"=dword:FF ; use device default transfer mode
>> (Ultra DMA 3, 4 require 80-conductor cable)
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device3]
>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> "Prefix"="DSK"
>> "Dll"="atapi.dll"
>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>> "DMA"=dword:01 ; enable DMA
>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>> "WriteCache"=dword:01 ; enable on-disk write cache
>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>> "DeviceId"=dword:03 ; device 3, i.e., secondary slave
>> "TransferMode"=dword:FF ; use device default transfer mode
>> (Ultra DMA 3, 4 require 80-conductor cable)
>> IF PRJ_ENABLE_FSREGHIVE
>> ; HIVE BOOT SECTION
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
>> "Flags"=dword:1000
>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
>> "Flags"=dword:1000
>> ; END HIVE BOOT SECTION
>> ENDIF PRJ_ENABLE_FSREGHIVE
>
>

Re: Folders created on the HDD are not persistence across reboots. by superclass

superclass
Fri Apr 18 05:23:03 PDT 2008



"Esha" wrote:

> But it is happening ! Here are the steps.
>
> 1. I boot my mahine with wince 5.0 using CF.
> 2. Hard disk and CF are detected and they are shown with the icons 'Hard

Naming of devices on Windows CE does matter when you plugin USB Storage
or if you boot with. On my system if USB Stick was present during boot, then
"Hard Disk" mount is USB Stick and "Hard Disk2" is HDD. I expect that this
mislead you.


Re: Folders created on the HDD are not persistence across reboots. by Luca

Luca
Sun Apr 20 23:32:39 PDT 2008

are you able to see the folder if you grab the hard disk from the CE machine
and connect to a PC before set 4?

--

Luca Calligaris
www.eurotech.it

"Esha" <iimeandmyself@yahoo.com> ha scritto nel messaggio
news:OsicyURoIHA.4832@TK2MSFTNGP02.phx.gbl...
> But it is happening ! Here are the steps.
>
> 1. I boot my mahine with wince 5.0 using CF.
> 2. Hard disk and CF are detected and they are shown with the icons 'Hard
> Disk' (HDD) and 'Hard Disk2' (CF, verified the contents).
> 3. I create a 'New Folder' inside 'Hard Disk' and even copy a huge file of
> 25MB into this new folder.
> 4. I reboot the machine
> 5. And boot the machine using the CF again, see two icons for 'Hard Disk'
> and 'Hard Disk2' but 'Hard Disk' done not contain the folder as well as
> the huge file i had copied. 'Hard Disk2' is the CF contents which are
> intact.
> 6. I insert a USB stick and that was seen as 'Hard Disk3' in the next
> boot. I created a new folder on this mount and copied the same huge file
> and rebooted the system.
> 7. After the machine boots I can see 'Hard Disk', 'Hard Disk2' and 'Hard
> Disk3' and there is no new folder inside 'Hard Disk' but all are still
> present in "Hard Disk3' (USB stick) after roobing.
>
> OS- Wince 5.0
> Hard Disk = FATFS (HDD)
> Hard Disk2 = CF
> Hard Disk 3 = USB Stick
>
> So is there any problem with the registery keys...
>
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
> "AutoMount"=dword:00000001
> "AutoPart"=dword:00000001
> "AutoFormat"=dword:00000001
> "MountFlags"=dword:00000002
> "DefaultFileSystem"="FATFS"
> "PartitionDriverName"="MSPART"
> "Folder"="Mounted Volume"
> "ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA]
> "Name"="PCMCIA/Compact Flash Device"
> "Folder"="Storage Card"
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
> "Name"="IDE Hard Disk Drive"
> "Folder"="Hard Disk"
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
> "EnableCacheWarm"=dword:00000000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile]
> "Name"="IDE CDROM/DVD Drive"
> "Folder"="CDROM Drive"
> "DefaultFileSystem"="UDFS"
> "PartitionDriver"=""
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile\PartitionTable]
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile]
> "Name"="USB Hard Disk Drive"
> "Folder"="Hard Disk"
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile\FATFS]
> "EnableCacheWarm"=dword:00000000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile]
> "Name"="USB Floppy Disk Drive"
> "Folder"="Floppy Drive"
> "DefaultFileSystem"="FATFS"
> "PartitionDriver"=""
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBCDProfile]
> "Name"="USB CDROM/DVD Drive"
> "Folder"="CDROM Drive"
> "DefaultFileSystem"="UDFS"
> "PartitionDriver"=""
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBCDProfile\PartitionTable]
>
>
> Paul G. Tobey [eMVP] wrote:
>> I don't believe you, sorry. I see no sign that Disk1 is definitely the
>> disk that you're talking about. Windows CE doesn't randomly delete
>> folders from hard disks... If you've actually created a folder on a hard
>> disk and you can see it during one boot, then, unless the disk is being
>> reformatted, mounted under a different name the next time, or unless some
>> code running on the system that is *not* from Microsoft is deleting the
>> folder, it's still there the next time.
>>
>> Paul T.
>>
>> "Esha" <iimeandmyself@yahoo.com> wrote in message
>> news:e9497hIoIHA.1580@TK2MSFTNGP06.phx.gbl...
>>> I'm booting my box with CF and there is a HDD (We have geodied hence the
>>> registry geoide.reg) which is detected as 'Disk' and the CF has been
>>> detected as 'Disk1'. Everything is well and good. But if I create any
>>> directory or files on 'Disk' that is HDD it is not persistent after I
>>> reboot the box. What changes I have to make in the registry to solve
>>> this issue ?
>>>
>>> Here are my registry settings:-
>>>
>>> ; HIVE BOOT SECTION
>>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
>>> "AutoMount"=dword:1
>>> "AutoPart"=dword:1
>>> "AutoFormat"=dword:1
>>> "MountFlags"=dword:0
>>> "DefaultFileSystem"=""
>>> "PartitionDriverName"="MSPART"
>>> "Folder"=LOC_STORE_DEFAULT_FOLDER
>>> ; @CESYSGEN IF PM_PM_DEFAULT_PDD
>>> "ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
>>> ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
>>>
>>>
>>>
>>> ; HIVE BOOT SECTION
>>> ; @CESYSGEN IF CE_MODULES_ATAPI
>>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
>>> "Name"="IDE Hard Disk Drive"
>>> "Folder"=LOC_STORE_HD_FOLDER
>>>
>>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
>>> "EnableCacheWarm"=dword:0
>>>
>>>
>>> -----------------------------------------------------------------
>>> ;
>>> ; Copyright (c) Microsoft Corporation. All rights reserved.
>>> ;
>>> ;
>>> ; Use of this source code is subject to the terms of the Microsoft
>>> end-user
>>> ; license agreement (EULA) under which you licensed this SOFTWARE
>>> PRODUCT.
>>> ; If you did not accept the terms of the EULA, you are not authorized to
>>> use
>>> ; this source code. For a copy of the EULA, please see the LICENSE.RTF
>>> on your
>>> ; install media.
>>> ;
>>>
>>> ; This file is to be included in platform.reg if required.
>>> ;
>>> ; $(PCI_BUS_ROOT) is a variable that needs to be set in the including
>>> ; platform.reg. It's value will be something like
>>> ; HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI
>>>
>>> ; SpawnFunction specified in platform.reg.
>>>
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
>>> "IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
>>> "Prefix"="IDE"
>>> "Dll"="atapi.dll"
>>> "Order"=dword:2
>>> "Class"=dword:01
>>> "SubClass"=dword:01
>>> "VendorID"=dword:1078
>>> "ConfigEntry"="GenericConfig" ; PCI configuration entry point
>>> "Legacy"=dword:01 ; legacy, use Irq for primary and
>>> Irq+1 for secondary
>>> "Irq"=dword:0E ; 14
>>> "SysIntr"=dword:00 ; SysIntr not specified
>>> "DMAAlignment"=dword:10 ; default DMA alignment
>>> "SoftResetTimeout"=dword:03 ; ATA/ATAPI spec defines 31s ceiling;
>>> this is too long
>>> "StatusPollCycles"=dword:100 ; Status register DRQ/BSY polling;
>>> 256 poll cycles
>>> "StatusPollsPerCycle"=dword:20 ; Status register DRQ/BSY polling; 32
>>> polls per cycle
>>> "StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5
>>> milliseconds between poll cycles
>>> ; "IsrDll"="" ; not required
>>> ; "IsrHandler"="" ; not required
>>> "RegisterStride"=dword:01 ; ATA register stride; register block
>>> is contiguous
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
>>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>>> "Prefix"="DSK"
>>> "Dll"="atapi.dll"
>>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>>> "DMA"=dword:01 ; enable DMA
>>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double
>>> buffer
>>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>>> "WriteCache"=dword:01 ; enable on-disk write cache
>>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>>> "DeviceId"=dword:00 ; device 0, i.e., primary master
>>> "TransferMode"=dword:FF ; use device default transfer mode
>>> (Ultra DMA 3, 4 require 80-conductor cable)
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device1]
>>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>>> "Prefix"="DSK"
>>> "Dll"="atapi.dll"
>>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>>> "DMA"=dword:01 ; enable DMA
>>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double
>>> buffer
>>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>>> "WriteCache"=dword:01 ; enable on-disk write cache
>>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>>> "DeviceId"=dword:01 ; device 1, i.e., primary slave
>>> "TransferMode"=dword:FF ; use device default transfer mode
>>> (Ultra DMA 3, 4 require 80-conductor cable)
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device2]
>>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>>> "Prefix"="DSK"
>>> "Dll"="atapi.dll"
>>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>>> "DMA"=dword:01 ; enable DMA
>>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double
>>> buffer
>>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>>> "WriteCache"=dword:01 ; enable on-disk write cache
>>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>>> "DeviceId"=dword:02 ; device 2, i.e., secondary master
>>> "TransferMode"=dword:FF ; use device default transfer mode
>>> (Ultra DMA 3, 4 require 80-conductor cable)
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device3]
>>> "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>>> "Prefix"="DSK"
>>> "Dll"="atapi.dll"
>>> "InterruptDriven"=dword:01 ; enable interrupt driven I/O
>>> "DMA"=dword:01 ; enable DMA
>>> "DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double
>>> buffer
>>> "DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
>>> "WriteCache"=dword:01 ; enable on-disk write cache
>>> "LookAhead"=dword:01 ; enable on-disk look-ahead
>>> "DeviceId"=dword:03 ; device 3, i.e., secondary slave
>>> "TransferMode"=dword:FF ; use device default transfer mode
>>> (Ultra DMA 3, 4 require 80-conductor cable)
>>> IF PRJ_ENABLE_FSREGHIVE
>>> ; HIVE BOOT SECTION
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE]
>>> "Flags"=dword:1000
>>> [$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
>>> "Flags"=dword:1000
>>> ; END HIVE BOOT SECTION
>>> ENDIF PRJ_ENABLE_FSREGHIVE
>>