Hi,
I am having a WinCE image with Binary Rom Image File System. Hive Based
Registry. In fact, i am in the process of

implementing Hive Based Registry.
Here the way the i go,
I added hive based registry.
I understood that for Hive based registry the the FileStorage (File System)
OS module to be included. So, i included

stratad.dll in my pdd and made the registry entries as mentioned in WinCE
4.2 help and sample Lubbock BSP.

Now, I am getting a error as follows.

4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
filesys.exe at address 0x04010000-0x0408C000
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
starting with clean file system
4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
volume
4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing volume
heap
4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
volume
4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
system hive
4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing volume
heap
4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
registry. Any open keys will be invalid.
4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at

0x01FED000-0x01FED754)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
stratad.dll at address 0x03630000-0x03644000 (RW data at

0x01F8A000-0x01F8AAF4)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
Address=0xb8380000 Length=0x1f80000.
4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Enter.
4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0x01a0a002

to physical sector 0x000007e1
4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0xe5850000

to physical sector 0x000007ea


14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0xb54702b8
to

physical sector 0x00002d42
14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load partition
driver mspart.dll
15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
stratad.dll at address 0x03630000-0x03644000 (RW data at

0x01F8A000-0x01F8AAF4)
Unloaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module relfsd.dll
at address 0x03EF0000-0x03EFB000 (RW data at

0x01FF9000-0x01FF9ABC)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
'\Release'
16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default user.
16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
(nobody), logging in default
16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing volume
16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume


Please don't say that this error is already asked in old queries. I couldn't
understand how to solve this Hive based problem.

Struck.
Few questions,

1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
2. File system is needed for Hive Based registry ?
3. I know how to build stratad.dll but, i couldn;t find a place where i can
set Environment variable to load this using

filesys.exe. FYI, I made registry entry "AUtoLoad".
4. Membase address also i verified its correct according to my Boot
configuration.

Please suugest me where i am doing wrong ?

Thanks & Regards,
Peter

Re: Hive Bades and Stratad.dll loading problem by vijayaraju

vijayaraju
Sun May 29 23:12:30 CDT 2005

Hai Peter,
You should give the detailed information about your device processor
and Memory details. Also specify the platform.reg contents.


Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Mon May 30 01:59:24 CDT 2005

Thanks for ur comment.
I am using PXA255. Sample code is taken from Lubbock SDB. My platfrom.reg
file related to Hive based are as follows.

; HIVE BOOT SECTION
; StrataFlash block driver.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="stratad.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:b8380000
"MemLen"=dword:01f80000

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"Folder"="NOR Flash"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\StrataFMD"
; LoadFlags 0x01 == load synchronously
"LoadFlags"=dword:1
"Order"=dword:0
; END HIVE BOOT SECTION
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Documents and Settings\\system.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:0
; END HIVE BOOT SECTION
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
"Identifier"=dword:1
"Minimum"=dword:1
"Space"=dword:20
"Ranges"="1-0x20"
; "Shared"=""

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
; END HIVE BOOT SECTION

Will it help ful for you to suggest


Cheers,
Peter

"vijayaraju.k@gmail.com" wrote:

> Hai Peter,
> You should give the detailed information about your device processor
> and Memory details. Also specify the platform.reg contents.
>
>

Re: Hive Bades and Stratad.dll loading problem by vijayaraju

vijayaraju
Mon May 30 02:48:54 CDT 2005

Peter I recently worked on this Hive based registry.....
I am trying to help you a little bit.

Peter could you tell in detail about what do you want?
you want to store Hive on Compact Flash or Hive on Flash or SDRAM?

Your Hive can be saved either on Compact flash(If you have it on your
board)
otherwise on onboard flash.

What for you are trying?

Which Hive component you added to your platform( RAM based or Hive
Based registry)


Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Mon May 30 04:07:28 CDT 2005

Thanks Vijay,
I am having Onboard Strata Flash chip, i am using Hive Based Registry to
store in to flash chip.
So, I read the WinCE Help and added the resgitry entries as mentioned in the
help. Those platform.reg i posted earlier.

The requirment is just, I want to store my registry during shutdown/sleep
and retrive the same while booting.

Thanks,
Peter


"vijayaraju.k@gmail.com" wrote:

> Peter I recently worked on this Hive based registry.....
> I am trying to help you a little bit.
>
> Peter could you tell in detail about what do you want?
> you want to store Hive on Compact Flash or Hive on Flash or SDRAM?
>
> Your Hive can be saved either on Compact flash(If you have it on your
> board)
> otherwise on onboard flash.
>
> What for you are trying?
>
> Which Hive component you added to your platform( RAM based or Hive
> Based registry)
>
>

Re: Hive Bades and Stratad.dll loading problem by vijayaraju

vijayaraju
Mon May 30 05:18:41 CDT 2005

I successfully stored Hive Registry on Compact Flash with following
entries....
But I am not sure it will work for your Onboard Flash.........
anyway Try with the following additional entries:

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\Sto=ADrageManager\Profiles\MSFlash]
"Name"=3D"MSFLASH for STRATAFLASH"
"Folder"=3D"NOR Flash"
"DefaultFileSystem"=3D"FATFS"
"AutoMount"=3Ddword:1
"AutoPart"=3Ddword:1
"AutoFormat"=3Ddword:1
"PartitionDriver"=3D"mspart.dll"
All oether registry entries are same keep as it is.

I hope this may help you.


Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Mon May 30 06:41:03 CDT 2005

Have you included Stratad.dll ?


"vijayaraju.k@gmail.com" wrote:

> I successfully stored Hive Registry on Compact Flash with following
> entries....
> But I am not sure it will work for your Onboard Flash.........
> anyway Try with the following additional entries:
>
> ; Override names in default profile
> [HKEY_LOCAL_MACHINE\System\Sto­rageManager\Profiles\MSFlash]
> "Name"="MSFLASH for STRATAFLASH"
> "Folder"="NOR Flash"
> "DefaultFileSystem"="FATFS"
> "AutoMount"=dword:1
> "AutoPart"=dword:1
> "AutoFormat"=dword:1
> "PartitionDriver"="mspart.dll"
> All oether registry entries are same keep as it is.
>
> I hope this may help you.
>
>

Re: Hive Bades and Stratad.dll loading problem by vijayaraju

vijayaraju
Mon May 30 07:05:20 CDT 2005

Yes.....I did.

All the remaining registry entries are same as yours.


Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Mon May 30 07:25:17 CDT 2005

How you included Stradtad.dll ? I created a new folder in my Platform
directory and building the stradtad.dll. now i am getting exception when
Filesys.exe loads Stratad.ddl while booting. Please tell me how u built and
included the stradtad.dll ?

Peter

"vijayaraju.k@gmail.com" wrote:

> Yes.....I did.
>
> All the remaining registry entries are same as yours.
>
>

Re: Hive Bades and Stratad.dll loading problem by Bruce

Bruce
Tue May 31 09:27:20 CDT 2005

Have you been able to use the disk BEFORE adding HIVE? You really should
get the disk working correctly first.

If you did, did you do a rebuild of the entire image after adding HIVE?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Peter" <peter> wrote in message
news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> Hi,
> I am having a WinCE image with Binary Rom Image File System. Hive Based
> Registry. In fact, i am in the process of
>
> implementing Hive Based Registry.
> Here the way the i go,
> I added hive based registry.
> I understood that for Hive based registry the the FileStorage (File
System)
> OS module to be included. So, i included
>
> stratad.dll in my pdd and made the registry entries as mentioned in WinCE
> 4.2 help and sample Lubbock BSP.
>
> Now, I am getting a error as follows.
>
> 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> filesys.exe at address 0x04010000-0x0408C000
> Loaded symbols for
> 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> starting with clean file system
> 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> volume
> 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
already
> initialized
> 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
volume
> heap
> 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> volume
> 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
already
> initialized
> 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> system hive
> 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
volume
> 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
volume
> heap
> 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
> registry. Any open keys will be invalid.
> 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
>
> 0x01FED000-0x01FED754)
> Loaded symbols for
> 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> stratad.dll at address 0x03630000-0x03644000 (RW data at
>
> 0x01F8A000-0x01F8AAF4)
> Loaded symbols for
> 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> Address=0xb8380000 Length=0x1f80000.
> 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
0x01a0a002
>
> to physical sector 0x000007e1
> 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
0xe5850000
>
> to physical sector 0x000007ea
>
>
> 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
0xb54702b8
> to
>
> physical sector 0x00002d42
> 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
partition
> driver mspart.dll
> 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
> 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> stratad.dll at address 0x03630000-0x03644000 (RW data at
>
> 0x01F8A000-0x01F8AAF4)
> Unloaded symbols for
> 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
relfsd.dll
> at address 0x03EF0000-0x03EFB000 (RW data at
>
> 0x01FF9000-0x01FF9ABC)
> Loaded symbols for
> 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> '\Release'
> 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default
user.
> 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
> (nobody), logging in default
> 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
volume
> 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
> initialized
> 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
>
>
> Please don't say that this error is already asked in old queries. I
couldn't
> understand how to solve this Hive based problem.
>
> Struck.
> Few questions,
>
> 1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
> 2. File system is needed for Hive Based registry ?
> 3. I know how to build stratad.dll but, i couldn;t find a place where i
can
> set Environment variable to load this using
>
> filesys.exe. FYI, I made registry entry "AUtoLoad".
> 4. Membase address also i verified its correct according to my Boot
> configuration.
>
> Please suugest me where i am doing wrong ?
>
> Thanks & Regards,
> Peter



Re: Hive Bades and Stratad.dll loading problem by Steve

Steve
Tue May 31 09:44:58 CDT 2005

14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load partition
driver mspart.dll

Looks like you might not have the partition driver component added into your
system correctly. Also when adding the registry it turns out you NEED to do
a clean SYSGEN the first time or it won't work. I haven't yet tracked down
exactly why that is the case (it doesn't make much sense and is a major PITA
but that is how it works at present)

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Hive Bades and Stratad.dll loading problem by Dean

Dean
Tue May 31 10:36:34 CDT 2005

The general rule I follow is that anytime you change the OS configuration,
you must do a full clean sysgen - no exceptions. The build tools try to do
an incremental build, but aren't very good at figuring out what needs
rebuilt. It thinks various components are current, when in fact the change
in OS configuration requires them to be rebuilt. I've had many instances
where things just didn't work until a clean sysgen was done, it fails more
times than it succeeds...

--
Dean Ramsier - eMVP
Vibren Technologies
http://www.vibren.com/Products/schema_bsp.htm


"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:ubdKT9eZFHA.1424@TK2MSFTNGP15.phx.gbl...
> 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load partition
> driver mspart.dll
>
> Looks like you might not have the partition driver component added into
your
> system correctly. Also when adding the registry it turns out you NEED to
do
> a clean SYSGEN the first time or it won't work. I haven't yet tracked down
> exactly why that is the case (it doesn't make much sense and is a major
PITA
> but that is how it works at present)
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>



Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Tue May 31 11:04:46 CDT 2005

Hi Bruce,
Have you been able to use the disk BEFORE adding HIVE? I am to run my
bootloader from that Intel Strata Flash Chip.

If you did, did you do a rebuild of the entire image after adding HIVE?
Yes, I added hive and did a Rebuild of whole platform and checked that
Stratad.dll is generated in the release directory.

Thanks Bruce,
Peter


"Bruce Eitman (eMVP)" wrote:

> Have you been able to use the disk BEFORE adding HIVE? You really should
> get the disk working correctly first.
>
> If you did, did you do a rebuild of the entire image after adding HIVE?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "Peter" <peter> wrote in message
> news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> > Hi,
> > I am having a WinCE image with Binary Rom Image File System. Hive Based
> > Registry. In fact, i am in the process of
> >
> > implementing Hive Based Registry.
> > Here the way the i go,
> > I added hive based registry.
> > I understood that for Hive based registry the the FileStorage (File
> System)
> > OS module to be included. So, i included
> >
> > stratad.dll in my pdd and made the registry entries as mentioned in WinCE
> > 4.2 help and sample Lubbock BSP.
> >
> > Now, I am getting a error as follows.
> >
> > 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > filesys.exe at address 0x04010000-0x0408C000
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> > 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> > starting with clean file system
> > 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> > system hive
> > 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
> volume
> > 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
> > registry. Any open keys will be invalid.
> > 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
> >
> > 0x01FED000-0x01FED754)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> > 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> > 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> > Address=0xb8380000 Length=0x1f80000.
> > 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> > 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0x01a0a002
> >
> > to physical sector 0x000007e1
> > 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xe5850000
> >
> > to physical sector 0x000007ea
> >
> >
> > 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xb54702b8
> > to
> >
> > physical sector 0x00002d42
> > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
> partition
> > driver mspart.dll
> > 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
> > 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Unloaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> relfsd.dll
> > at address 0x03EF0000-0x03EFB000 (RW data at
> >
> > 0x01FF9000-0x01FF9ABC)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> > 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> > '\Release'
> > 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default
> user.
> > 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
> > (nobody), logging in default
> > 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> volume
> > 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
> > initialized
> > 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
> >
> >
> > Please don't say that this error is already asked in old queries. I
> couldn't
> > understand how to solve this Hive based problem.
> >
> > Struck.
> > Few questions,
> >
> > 1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
> > 2. File system is needed for Hive Based registry ?
> > 3. I know how to build stratad.dll but, i couldn;t find a place where i
> can
> > set Environment variable to load this using
> >
> > filesys.exe. FYI, I made registry entry "AUtoLoad".
> > 4. Membase address also i verified its correct according to my Boot
> > configuration.
> >
> > Please suugest me where i am doing wrong ?
> >
> > Thanks & Regards,
> > Peter
>
>
>

Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Tue May 31 11:04:31 CDT 2005

Hi Thanks for your reply.

I have Intel Strata flash (Memory Interface chip) not any PCI based Memory
Card OR Disk. Hope its clear now.
I am implementing a hive based registry for a system has the following Flash
configuration.

Memory Interfaced Intel Strata flash (Which is used for bootloader and OS
image) of size 32MB. Then i added the registry entires as mentioned in my
earlier posts. Please suggest me.

I have few questions:
Is it ok to use Bin ROM Image File System for this configuration ?
How to load the stratad.dll ? Here i moved the MDD code to PDD and loading.
Is it rite ?


Thanks & Regards,
Peter


"Bruce Eitman (eMVP)" wrote:

> Have you been able to use the disk BEFORE adding HIVE? You really should
> get the disk working correctly first.
>
> If you did, did you do a rebuild of the entire image after adding HIVE?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "Peter" <peter> wrote in message
> news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> > Hi,
> > I am having a WinCE image with Binary Rom Image File System. Hive Based
> > Registry. In fact, i am in the process of
> >
> > implementing Hive Based Registry.
> > Here the way the i go,
> > I added hive based registry.
> > I understood that for Hive based registry the the FileStorage (File
> System)
> > OS module to be included. So, i included
> >
> > stratad.dll in my pdd and made the registry entries as mentioned in WinCE
> > 4.2 help and sample Lubbock BSP.
> >
> > Now, I am getting a error as follows.
> >
> > 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > filesys.exe at address 0x04010000-0x0408C000
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> > 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> > starting with clean file system
> > 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> > system hive
> > 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
> volume
> > 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
> > registry. Any open keys will be invalid.
> > 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
> >
> > 0x01FED000-0x01FED754)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> > 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> > 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> > Address=0xb8380000 Length=0x1f80000.
> > 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> > 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0x01a0a002
> >
> > to physical sector 0x000007e1
> > 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xe5850000
> >
> > to physical sector 0x000007ea
> >
> >
> > 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xb54702b8
> > to
> >
> > physical sector 0x00002d42
> > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
> partition
> > driver mspart.dll
> > 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
> > 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Unloaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> relfsd.dll
> > at address 0x03EF0000-0x03EFB000 (RW data at
> >
> > 0x01FF9000-0x01FF9ABC)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> > 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> > '\Release'
> > 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default
> user.
> > 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
> > (nobody), logging in default
> > 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> volume
> > 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
> > initialized
> > 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
> >
> >
> > Please don't say that this error is already asked in old queries. I
> couldn't
> > understand how to solve this Hive based problem.
> >
> > Struck.
> > Few questions,
> >
> > 1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
> > 2. File system is needed for Hive Based registry ?
> > 3. I know how to build stratad.dll but, i couldn;t find a place where i
> can
> > set Environment variable to load this using
> >
> > filesys.exe. FYI, I made registry entry "AUtoLoad".
> > 4. Membase address also i verified its correct according to my Boot
> > configuration.
> >
> > Please suugest me where i am doing wrong ?
> >
> > Thanks & Regards,
> > Peter
>
>
>

Re: Hive Bades and Stratad.dll loading problem by Bruce

Bruce
Tue May 31 12:03:17 CDT 2005

> Have you been able to use the disk BEFORE adding HIVE? I am to run my
> bootloader from that Intel Strata Flash Chip.

NOT what I asked, I asked if you were able to use the disk, not the flash.
There is a big difference, and wasting time getting the disk to work while
also getting the HIVE running seems to me to be counter productive. HIVE
adds a layer of complexity that you should avoid when getting a disk
working.

> If you did, did you do a rebuild of the entire image after adding HIVE?
> Yes, I added hive and did a Rebuild of whole platform and checked that
> Stratad.dll is generated in the release directory.

So that seems to indicate an answer of "no" to the first question. I
strongly suggest putting RAM Based Registry back in and rebuilding. Then
get the disk working. Then add HIVE-based registry in and rebuild.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Peter" <peter> wrote in message
news:4895FA48-7CE7-4C9D-87E0-213886E272A8@microsoft.com...
> Hi Bruce,
> Have you been able to use the disk BEFORE adding HIVE? I am to run my
> bootloader from that Intel Strata Flash Chip.
>
> If you did, did you do a rebuild of the entire image after adding HIVE?
> Yes, I added hive and did a Rebuild of whole platform and checked that
> Stratad.dll is generated in the release directory.
>
> Thanks Bruce,
> Peter
>
>
> "Bruce Eitman (eMVP)" wrote:
>
> > Have you been able to use the disk BEFORE adding HIVE? You really
should
> > get the disk working correctly first.
> >
> > If you did, did you do a rebuild of the entire image after adding HIVE?
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > beitman AT applieddata DOT net
> >
> > Applied Data Systems
> > www.applieddata.net
> > An ISO 9001:2000 Registered Company
> > Microsoft WEP Gold-level Member
> >
> >
> > "Peter" <peter> wrote in message
> > news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> > > Hi,
> > > I am having a WinCE image with Binary Rom Image File System. Hive
Based
> > > Registry. In fact, i am in the process of
> > >
> > > implementing Hive Based Registry.
> > > Here the way the i go,
> > > I added hive based registry.
> > > I understood that for Hive based registry the the FileStorage (File
> > System)
> > > OS module to be included. So, i included
> > >
> > > stratad.dll in my pdd and made the registry entries as mentioned in
WinCE
> > > 4.2 help and sample Lubbock BSP.
> > >
> > > Now, I am getting a error as follows.
> > >
> > > 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > filesys.exe at address 0x04010000-0x0408C000
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> > > 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> > > starting with clean file system
> > > 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening
existing
> > > volume
> > > 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> > already
> > > initialized
> > > 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> > volume
> > > heap
> > > 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening
existing
> > > volume
> > > 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> > already
> > > initialized
> > > 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> > > system hive
> > > 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
> > volume
> > > 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> > volume
> > > heap
> > > 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down
boot
> > > registry. Any open keys will be invalid.
> > > 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
> > >
> > > 0x01FED000-0x01FED754)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> > > 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > stratad.dll at address 0x03630000-0x03644000 (RW data at
> > >
> > > 0x01F8A000-0x01F8AAF4)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > > 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> > > 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> > > Address=0xb8380000 Length=0x1f80000.
> > > 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> > > 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0x01a0a002
> > >
> > > to physical sector 0x000007e1
> > > 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0xe5850000
> > >
> > > to physical sector 0x000007ea
> > >
> > >
> > > 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0xb54702b8
> > > to
> > >
> > > physical sector 0x00002d42
> > > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
> > partition
> > > driver mspart.dll
> > > 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore
Destructor(000A2DE0)
> > > 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> > > stratad.dll at address 0x03630000-0x03644000 (RW data at
> > >
> > > 0x01F8A000-0x01F8AAF4)
> > > Unloaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > > 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > relfsd.dll
> > > at address 0x03EF0000-0x03EFB000 (RW data at
> > >
> > > 0x01FF9000-0x01FF9ABC)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> > > 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> > > '\Release'
> > > 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in
default
> > user.
> > > 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging
out
> > > (nobody), logging in default
> > > 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > > 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
already
> > > initialized
> > > 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
volume
> > >
> > >
> > > Please don't say that this error is already asked in old queries. I
> > couldn't
> > > understand how to solve this Hive based problem.
> > >
> > > Struck.
> > > Few questions,
> > >
> > > 1. Is it the stratad.dll to be made as PDD and added with the platfrom
?
> > > 2. File system is needed for Hive Based registry ?
> > > 3. I know how to build stratad.dll but, i couldn;t find a place where
i
> > can
> > > set Environment variable to load this using
> > >
> > > filesys.exe. FYI, I made registry entry "AUtoLoad".
> > > 4. Membase address also i verified its correct according to my Boot
> > > configuration.
> > >
> > > Please suugest me where i am doing wrong ?
> > >
> > > Thanks & Regards,
> > > Peter
> >
> >
> >



Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Tue May 31 17:50:50 CDT 2005

Hi,
I did a "Regenerate the Platform Headers" then "Build Image". Even then i am
getting the same. Am i doing correct to do Full Clean Sysgen ?

Thanks & Regards,
Peter.

"Dean Ramsier" wrote:

> The general rule I follow is that anytime you change the OS configuration,
> you must do a full clean sysgen - no exceptions. The build tools try to do
> an incremental build, but aren't very good at figuring out what needs
> rebuilt. It thinks various components are current, when in fact the change
> in OS configuration requires them to be rebuilt. I've had many instances
> where things just didn't work until a clean sysgen was done, it fails more
> times than it succeeds...
>
> --
> Dean Ramsier - eMVP
> Vibren Technologies
> http://www.vibren.com/Products/schema_bsp.htm
>
>
> "Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
> news:ubdKT9eZFHA.1424@TK2MSFTNGP15.phx.gbl...
> > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load partition
> > driver mspart.dll
> >
> > Looks like you might not have the partition driver component added into
> your
> > system correctly. Also when adding the registry it turns out you NEED to
> do
> > a clean SYSGEN the first time or it won't work. I haven't yet tracked down
> > exactly why that is the case (it doesn't make much sense and is a major
> PITA
> > but that is how it works at present)
> >
> > --
> > Steve Maillet
> > EmbeddedFusion
> > www.EmbeddedFusion.com
> > smaillet at EmbeddedFusion dot com
> >
> >
>
>
>

Re: Hive Bades and Stratad.dll loading problem by peter>

peter>
Wed Jun 01 07:04:02 CDT 2005

Hi Bruce Thanks for ur posting,

I am not using Compact Flash Card. i am not able understand what is meant
here as Flash Disk ? Is this the Flash Memory after Filesystem Installed ?
Please guide me. On this.

Few Observations: I added the FATFS File System. Removed Hive-Based
Registry. Built the entire Image. Now, I got error saying that Stratad.dll is
not found in the release directory. So, I opened Command prompt and build
Stratad.dll using the following commands.

"set WINCEREL =1"
"sysgen -p common stratad"
I got my Stratad.dll in
"E:\WinCE420\PUBLIC\My_PlatformBuilder_Project\WINCE420\TS90\cesysgen\oak\lib\ARMV4I\debug"
I copied in to my FlatRelease directory and ran Make Image. Then, i am able
to create a image with FATFS File System but without Hive-Based Registry.
Now, i didn't get any errors.

What this means ?
Is this is enough to test the Filesystem with my Flash Memory ?

Please suggest

Thanks,
Peter



"Bruce Eitman (eMVP)" wrote:

> Have you been able to use the disk BEFORE adding HIVE? You really should
> get the disk working correctly first.
>
> If you did, did you do a rebuild of the entire image after adding HIVE?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "Peter" <peter> wrote in message
> news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> > Hi,
> > I am having a WinCE image with Binary Rom Image File System. Hive Based
> > Registry. In fact, i am in the process of
> >
> > implementing Hive Based Registry.
> > Here the way the i go,
> > I added hive based registry.
> > I understood that for Hive based registry the the FileStorage (File
> System)
> > OS module to be included. So, i included
> >
> > stratad.dll in my pdd and made the registry entries as mentioned in WinCE
> > 4.2 help and sample Lubbock BSP.
> >
> > Now, I am getting a error as follows.
> >
> > 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > filesys.exe at address 0x04010000-0x0408C000
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> > 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> > starting with clean file system
> > 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> already
> > initialized
> > 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> > system hive
> > 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
> volume
> > 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> volume
> > heap
> > 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
> > registry. Any open keys will be invalid.
> > 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
> >
> > 0x01FED000-0x01FED754)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> > 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> > 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> > Address=0xb8380000 Length=0x1f80000.
> > 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> > 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0x01a0a002
> >
> > to physical sector 0x000007e1
> > 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xe5850000
> >
> > to physical sector 0x000007ea
> >
> >
> > 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> 0xb54702b8
> > to
> >
> > physical sector 0x00002d42
> > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
> partition
> > driver mspart.dll
> > 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
> > 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> > stratad.dll at address 0x03630000-0x03644000 (RW data at
> >
> > 0x01F8A000-0x01F8AAF4)
> > Unloaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> relfsd.dll
> > at address 0x03EF0000-0x03EFB000 (RW data at
> >
> > 0x01FF9000-0x01FF9ABC)
> > Loaded symbols for
> > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> > 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> > '\Release'
> > 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default
> user.
> > 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
> > (nobody), logging in default
> > 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> volume
> > 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
> > initialized
> > 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
> >
> >
> > Please don't say that this error is already asked in old queries. I
> couldn't
> > understand how to solve this Hive based problem.
> >
> > Struck.
> > Few questions,
> >
> > 1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
> > 2. File system is needed for Hive Based registry ?
> > 3. I know how to build stratad.dll but, i couldn;t find a place where i
> can
> > set Environment variable to load this using
> >
> > filesys.exe. FYI, I made registry entry "AUtoLoad".
> > 4. Membase address also i verified its correct according to my Boot
> > configuration.
> >
> > Please suugest me where i am doing wrong ?
> >
> > Thanks & Regards,
> > Peter
>
>
>

Re: Hive Bades and Stratad.dll loading problem by Bruce

Bruce
Wed Jun 01 07:18:10 CDT 2005

A Flash Disk is a "disk" that resides in flash. That is what you are
creating by using stradad. It will show up as disk with the name that you
gave it in the registry.

You are headed in the right direction, now does the disk show up when you
run the image?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Peter" <peter> wrote in message
news:3F87722F-ED86-462A-9481-A1306629BF4E@microsoft.com...
> Hi Bruce Thanks for ur posting,
>
> I am not using Compact Flash Card. i am not able understand what is meant
> here as Flash Disk ? Is this the Flash Memory after Filesystem Installed ?
> Please guide me. On this.
>
> Few Observations: I added the FATFS File System. Removed Hive-Based
> Registry. Built the entire Image. Now, I got error saying that Stratad.dll
is
> not found in the release directory. So, I opened Command prompt and build
> Stratad.dll using the following commands.
>
> "set WINCEREL =1"
> "sysgen -p common stratad"
> I got my Stratad.dll in
>
"E:\WinCE420\PUBLIC\My_PlatformBuilder_Project\WINCE420\TS90\cesysgen\oak\li
b\ARMV4I\debug"
> I copied in to my FlatRelease directory and ran Make Image. Then, i am
able
> to create a image with FATFS File System but without Hive-Based Registry.
> Now, i didn't get any errors.
>
> What this means ?
> Is this is enough to test the Filesystem with my Flash Memory ?
>
> Please suggest
>
> Thanks,
> Peter
>
>
>
> "Bruce Eitman (eMVP)" wrote:
>
> > Have you been able to use the disk BEFORE adding HIVE? You really
should
> > get the disk working correctly first.
> >
> > If you did, did you do a rebuild of the entire image after adding HIVE?
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > beitman AT applieddata DOT net
> >
> > Applied Data Systems
> > www.applieddata.net
> > An ISO 9001:2000 Registered Company
> > Microsoft WEP Gold-level Member
> >
> >
> > "Peter" <peter> wrote in message
> > news:D07CB46C-D3DC-4C55-811E-C56349925A30@microsoft.com...
> > > Hi,
> > > I am having a WinCE image with Binary Rom Image File System. Hive
Based
> > > Registry. In fact, i am in the process of
> > >
> > > implementing Hive Based Registry.
> > > Here the way the i go,
> > > I added hive based registry.
> > > I understood that for Hive based registry the the FileStorage (File
> > System)
> > > OS module to be included. So, i included
> > >
> > > stratad.dll in my pdd and made the registry entries as mentioned in
WinCE
> > > 4.2 help and sample Lubbock BSP.
> > >
> > > Now, I am getting a error as follows.
> > >
> > > 4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > filesys.exe at address 0x04010000-0x0408C000
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
> > > 4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
> > > starting with clean file system
> > > 4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening
existing
> > > volume
> > > 4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> > already
> > > initialized
> > > 4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> > volume
> > > heap
> > > 4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening
existing
> > > volume
> > > 4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
> > already
> > > initialized
> > > 4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
> > > system hive
> > > 4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
> > volume
> > > 4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing
> > volume
> > > heap
> > > 4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down
boot
> > > registry. Any open keys will be invalid.
> > > 4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
> > >
> > > 0x01FED000-0x01FED754)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
> > > 4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > > stratad.dll at address 0x03630000-0x03644000 (RW data at
> > >
> > > 0x01F8A000-0x01F8AAF4)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > > 4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
> > > 4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
> > > Address=0xb8380000 Length=0x1f80000.
> > > 4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> > > 4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0x01a0a002
> > >
> > > to physical sector 0x000007e1
> > > 4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0xe5850000
> > >
> > > to physical sector 0x000007ea
> > >
> > >
> > > 14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
> > > FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector
> > 0xb54702b8
> > > to
> > >
> > > physical sector 0x00002d42
> > > 14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load
> > partition
> > > driver mspart.dll
> > > 15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore
Destructor(000A2DE0)
> > > 16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
> > > stratad.dll at address 0x03630000-0x03644000 (RW data at
> > >
> > > 0x01F8A000-0x01F8AAF4)
> > > Unloaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
> > > 16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
> > relfsd.dll
> > > at address 0x03EF0000-0x03EFB000 (RW data at
> > >
> > > 0x01FF9000-0x01FF9ABC)
> > > Loaded symbols for
> > > 'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
> > > 16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
> > > '\Release'
> > > 16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in
default
> > user.
> > > 16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging
out
> > > (nobody), logging in default
> > > 16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
> > volume
> > > 16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap
already
> > > initialized
> > > 16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new
volume
> > >
> > >
> > > Please don't say that this error is already asked in old queries. I
> > couldn't
> > > understand how to solve this Hive based problem.
> > >
> > > Struck.
> > > Few questions,
> > >
> > > 1. Is it the stratad.dll to be made as PDD and added with the platfrom
?
> > > 2. File system is needed for Hive Based registry ?
> > > 3. I know how to build stratad.dll but, i couldn;t find a place where
i
> > can
> > > set Environment variable to load this using
> > >
> > > filesys.exe. FYI, I made registry entry "AUtoLoad".
> > > 4. Membase address also i verified its correct according to my Boot
> > > configuration.
> > >
> > > Please suugest me where i am doing wrong ?
> > >
> > > Thanks & Regards,
> > > Peter
> >
> >
> >