Hive based registry problem...
- From: Rameshchandra <Rameshchandra@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 May 2008 04:43:00 -0700
Hi all,
I want to implement a hive-based registery model in my pxa255 board.
So, i have done the following by referring to the platform builder
documentations.
1) Added the catalog item, Hive based registery
2) Modified my platform.reg file as shown below,
--------------------------------------------------------------------------
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="System.hv"
"Start DevMgr"=dword:1
"DefaultUser"="Ramesh"
-------> I included my storage Manager driver registery details too here(I
am using stratad...and my storage Manager is working properly and i am able
to see the partition named "Flash"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Flags"=dword:1000 ; For the driver to loade at first boot phase
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountFlags"=dword:2
-----------------------------------------------------------------------
I think, i have included all the details properly in my platform.reg. I
done my sysgen properly(i could see default.hv, boot.hv etc in my release
directory), Now, when my board boots, i get the following debug messages,
--------------------------------------------------------------------------
Loaded symbols for
'D:\MYWORK\WINCE5.0_OS_DESIGNS\INNOVATE255_MYDEBUG5\RELDIR\INNOVATE255_ARMV4I_DEBUG\FILESYS.EXE'
4294767421 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: CertMod.dll not found, using
old OEM Trust Model
4294767424 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FileSystem Starting -
starting with clean file system
4294767426 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: initializing ROM/RAM file
system
4294767427 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: SC_CreateAPIHandle: pvData ==
NULL
4294767428 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: Registering file system
ROM, index 2, flags 0x00000031
4294767428 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: Mount complete (ROM,
index 2, flags 0x00000031)
4294767433 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: InitSharedHeap: 46000000
10000 c
4294767434 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: InitSharedHeap: return
46000060
4294767437 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FSREG: Unable to read value
"NoDefaultUser" under HKEY_LOCAL_MACHINE\init\BootVars
4294767437 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FSREG: Logging in default user.
4294767438 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FSREG: Unable to read value
"DefaultUser" under HKEY_LOCAL_MACHINE\init\BootVars
4294767439 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: SetCurrentUser: Logging out
(nobody), logging in default
4294767439 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: Using default path
"\profiles\"
4294767440 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: BuildPath: profiles
4294767441 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: BuildPath: profiles\default
4294767442 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: SetCurrentUser: User hives
not supported -- using same registry for all users
4294767444 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: Using default path
"Windows\"
4294767474 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: Using default path
"Windows\"
4294767480 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FSREG: Unable to read value
"DBFlags" under HKEY_LOCAL_MACHINE\init\BootVars
4294767513 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c:
Initializing Database
4294767523 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: DB:Validation: Name already
exists DB_notify_events
4294767524 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: DB:CeCreateDatabase failed
4294767525 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: Filesystem initialized!
4294767526 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FILESYS: Waiting for kernel
to be ready to launch apps
4294767527 PID:3cb7002 TID:43ca2fba 0x83c9e400: InitMUI: DISABLED
(-1039795432)
4294767529 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FS: HKLM\System\Events not
available, no signal events created.
4294767530 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FILESYS: Launching apps
4294767530 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: ERROR:
c:\macallan\private\winceos\coreos\filesys\main\fsmain.c line 4101:
4294767531 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: Unable to locate init key for
starting apps!
4294767532 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: FILESYS: Done launching apps
4294767532 PID:3c9eca2 TID:3c9ec7e 0x83c9ea3c: This device has booted 1
times !!!
-----------------------------------------------------------------------------
I tried giving the "NoDefualtUser" parameter in my platform.reg,
irrespective of what ever i change in my platform.reg and rebuild it(I
rebuilded properly, i can see my changes in reginit.ini), i am getting the
same error... Unable to read the "NoDefaultUser", although this is not
serious error compared to the subsequent one, i want to know whether my
changes are getting reflected at runtime...
What mistake am i doing here and how do i store my hive based registry in my
flash?
Please help me up in solving this issue...
Thanks in advance.
--
Ramesh.c
Innovate Sofware Solutions.
Bangalore.
.
- Follow-Ups:
- Re: Hive based registry problem...
- From: Michel Verhagen (eMVP)
- Re: Hive based registry problem...
- Prev by Date: Re: SD Card Partionting
- Next by Date: Re: Hive based registry problem...
- Previous by thread: Re: SD Card Partionting
- Next by thread: Re: Hive based registry problem...
- Index(es):