Message from discussion
Hive registry problem
From: "ms" <m...@discussions.microsoft.com>
Subject: Hive registry problem
Date: Thu, 10 Nov 2005 16:25:42 -0000
Lines: 223
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0112_01C5E613.64D78460"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Message-ID: <OgBhmNh5FHA.2396@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.windowsce.platbuilder
NNTP-Posting-Host: host86-138-231-198.range86-138.btcentralplus.com 86.138.231.198
Path: g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!msrtrans!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
This is a multi-part message in MIME format.
------=_NextPart_000_0112_01C5E613.64D78460
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi, I am trying to get Hive registry going on SD card
on a custom PXA255 platform. OS V5.0 crashes after
initialising file system debug below:
Loaded symbols for =
'C:\WINCE500\PBWORKSPACES\DEV\RELDIR\INDCONT_DEBUG\FILESYS.EXE'
4294767604 PID:23c703da TID:23c703b6 0x83c70174: CertMod.dll not found, =
using old OEM Trust Model
4294767626 PID:23c703da TID:23c703b6 0x83c70174: FileSystem Starting - =
starting with clean file system
4294767631 PID:23c703da TID:23c703b6 0x83c70174: SC_CreateAPIHandle: =
pvData =3D=3D NULL
4294767648 PID:23c703da TID:23c703b6 0x83c70174: InitSharedHeap: =
46000000 10000 c
4294767649 PID:23c703da TID:23c703b6 0x83c70174: InitSharedHeap: =
return 46000060
4294767654 PID:23c703da TID:23c703b6 0x83c70174: FSREG: Logging in =
default user.
4294767655 PID:23c703da TID:23c703b6 0x83c70174: SetCurrentUser: Logging =
out (nobody), logging in default
4294767656 PID:23c703da TID:23c703b6 0x83c70174: FS: Using default path =
"\profiles\"
4294767661 PID:23c703da TID:23c703b6 0x83c70174: SetCurrentUser: User =
hives not supported -- using same registry for all users
4294767663 PID:23c703da TID:23c703b6 0x83c70174: FS: Using default path =
"Windows\"
4294767787 PID:23c703da TID:23c703b6 0x83c70174: FS: Using default path =
"Windows\"
4294767941 PID:23c703da TID:23c703b6 0x83c70174:=20
Initializing Database
4294767970 PID:23c703da TID:23c703b6 0x83c70174: DB:Creating 1 indexes =
in pdb 0x4200a874, heap 0x00094060
4294767971 PID:23c703da TID:23c703b6 0x83c70174: DB: Index 0: 1 props
4294767971 PID:23c703da TID:23c703b6 0x83c70174: DB: Prop 0: =
0x0001001f 0x00000000
4294767972 PID:23c703da TID:23c703b6 0x83c70174: IDXCreate: Keysize 4: =
Order 126: Split 125: Merge 83
4294767972 PID:23c703da TID:23c703b6 0x83c70174: DBIndex:allocing index =
block 0x4200a9f4(0x00000029), db 0x00000028, index 0
4294767974 PID:23c703da TID:23c703b6 0x83c70174: Can't seek in empty =
index
4294767977 PID:23c703da TID:23c703b6 0x83c70174: DB:Validation: Name =
already exists DB_notify_events
4294767978 PID:23c703da TID:23c703b6 0x83c70174: DB:CeCreateDatabase =
failed
4294767978 PID:23c703da TID:23c703b6 0x83c70174: Can't seek in empty =
index
4294767982 PID:23c703da TID:23c703b6 0x83c70174: Filesystem initialized!
4294767984 PID:3c8b002 TID:a3c72642 0x83c72a64: InitMUI: DISABLED =
(-1039729896)
4294767987 PID:23c703da TID:23c703b6 0x83c70174: FS: HKLM\System\Events =
not available, no signal events created.
4294767989 PID:23c703da TID:23c703b6 0x83c70174: ERROR: =
c:\macallan\private\winceos\coreos\filesys\main\fsmain.c line 4101:=20
4294767989 PID:23c703da TID:23c703b6 0x83c70174: Unable to locate init =
key for starting apps!
4294767990 PID:23c703da TID:23c703b6 0x83c70174: This device has booted =
1 times !!!
Setttings below. i have included the SD loader in HIVE boot section.
What else do i need to do?
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"=3D"system.hv"
"Start DevMgr"=3Ddword:1
"Flags"=3Ddword:3
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
=20
; HIVE BOOT SECTION
IF BSP_NOSDMMC!
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\sdmmcloader]
"Dll"=3D"sdmmc_loader.dll"
"Prefix"=3D"SML"
"Order"=3Ddword:1
"Ioctl"=3Ddword:4
"Flags"=3Ddword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]=20
"Name"=3D"SD MMC device"
"Folder"=3D"SDCard"
"MountAsBootable"=3Ddword:1
"AutoFormat"=3Ddword:1=20
"AutoPart"=3Ddword:1=20
"AutoMount"=3Ddword:1=20
"FileSystem"=3D"fatfsd.dll"
"PartitionDriver"=3D"mspart.dll"
ENDIF
; END HIVE BOOT SECTION
------=_NextPart_000_0112_01C5E613.64D78460
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi, I am trying to get Hive registry =
going on SD=20
card</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>on a custom PXA255 platform. OS V5.0 =
crashes=20
after</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>initialising file system debug =
below:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Loaded symbols for=20
'C:\WINCE500\PBWORKSPACES\DEV\RELDIR\INDCONT_DEBUG\FILESYS.EXE'<BR>429476=
7604=20
PID:23c703da TID:23c703b6 0x83c70174: CertMod.dll not found, using old =
OEM Trust=20
Model<BR>4294767626 PID:23c703da TID:23c703b6 0x83c70174: FileSystem =
Starting -=20
starting with clean file system<BR>4294767631 PID:23c703da TID:23c703b6=20
0x83c70174: SC_CreateAPIHandle: pvData =3D=3D NULL<BR>4294767648 =
PID:23c703da=20
TID:23c703b6 0x83c70174: InitSharedHeap: 46000000 10000 c<BR>4294767649=20
PID:23c703da TID:23c703b6 0x83c70174: InitSharedHeap: return =
46000060<BR>4294767654 PID:23c703da TID:23c703b6 0x83c70174: FSREG: =
Logging in=20
default user.<BR>4294767655 PID:23c703da TID:23c703b6 0x83c70174:=20
SetCurrentUser: Logging out (nobody), logging in default<BR>4294767656=20
PID:23c703da TID:23c703b6 0x83c70174: FS: Using default path=20
"\profiles\"<BR>4294767661 PID:23c703da TID:23c703b6 0x83c70174: =
SetCurrentUser:=20
User hives not supported -- using same registry for all =
users<BR>4294767663=20
PID:23c703da TID:23c703b6 0x83c70174: FS: Using default path=20
"Windows\"<BR>4294767787 PID:23c703da TID:23c703b6 0x83c70174: FS: Using =
default=20
path "Windows\"<BR>4294767941 PID:23c703da TID:23c703b6 0x83c70174:=20
<BR>Initializing Database<BR>4294767970 PID:23c703da TID:23c703b6 =
0x83c70174:=20
DB:Creating 1 indexes in pdb 0x4200a874, heap 0x00094060<BR>4294767971=20
PID:23c703da TID:23c703b6 0x83c70174: DB: Index 0: 1=20
props<BR>4294767971 PID:23c703da TID:23c703b6 0x83c70174:=20
DB: Prop 0: 0x0001001f=20
0x00000000<BR>4294767972 PID:23c703da TID:23c703b6 0x83c70174: =
IDXCreate:=20
Keysize 4: Order 126: Split 125: Merge 83<BR>4294767972 PID:23c703da=20
TID:23c703b6 0x83c70174: DBIndex:allocing index block =
0x4200a9f4(0x00000029), db=20
0x00000028, index 0<BR>4294767974 PID:23c703da TID:23c703b6 0x83c70174: =
Can't=20
seek in empty index<BR>4294767977 PID:23c703da TID:23c703b6 0x83c70174:=20
DB:Validation: Name already exists DB_notify_events<BR>4294767978 =
PID:23c703da=20
TID:23c703b6 0x83c70174: DB:CeCreateDatabase failed<BR>4294767978 =
PID:23c703da=20
TID:23c703b6 0x83c70174: Can't seek in empty index<BR>4294767982 =
PID:23c703da=20
TID:23c703b6 0x83c70174: Filesystem initialized!<BR>4294767984 =
PID:3c8b002=20
TID:a3c72642 0x83c72a64: InitMUI: DISABLED (-1039729896)<BR>4294767987=20
PID:23c703da TID:23c703b6 0x83c70174: FS: HKLM\System\Events not =
available, no=20
signal events created.<BR>4294767989 PID:23c703da TID:23c703b6 =
0x83c70174:=20
ERROR: c:\macallan\private\winceos\coreos\filesys\main\fsmain.c line =
4101:=20
<BR>4294767989 PID:23c703da TID:23c703b6 0x83c70174: Unable to locate =
init key=20
for starting apps!<BR>4294767990 PID:23c703da TID:23c703b6 0x83c70174: =
This=20
device has booted 1 times !!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Setttings below. i have included the SD =
loader in=20
HIVE boot section.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What else do i need to do?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>; @CESYSGEN IF FILESYS_FSREGHIVE<BR>; =
HIVE BOOT=20
SECTION<BR>[HKEY_LOCAL_MACHINE\init\BootVars]<BR> =20
"SystemHive"=3D"system.hv"<BR> "Start =
DevMgr"=3Ddword:1<BR> =20
"Flags"=3Ddword:3<BR>; END HIVE BOOT SECTION<BR>; @CESYSGEN ENDIF=20
FILESYS_FSREGHIVE<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT>
<DIV><FONT face=3DArial size=3D2>; HIVE BOOT SECTION<BR>IF=20
BSP_NOSDMMC!<BR>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\sdmmcloader]<BR> =
; =20
"Dll"=3D"sdmmc_loader.dll"<BR> =20
"Prefix"=3D"SML"<BR> =
"Order"=3Ddword:1<BR> =20
"Ioctl"=3Ddword:4<BR> "Flags"=3Ddword:1000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]=20
<BR> "Name"=3D"SD MMC device"<BR> =20
"Folder"=3D"SDCard"<BR> "MountAsBootable"=3Ddword:1<BR> &=
nbsp;=20
"AutoFormat"=3Ddword:1 <BR> "AutoPart"=3Ddword:1=20
<BR> "AutoMount"=3Ddword:1=20
<BR> "FileSystem"=3D"fatfsd.dll"<BR> =20
"PartitionDriver"=3D"mspart.dll"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>ENDIF<BR>; END HIVE BOOT =
SECTION</FONT></DIV><FONT=20
face=3DArial size=3D2> </FONT></DIV></BODY></HTML>
------=_NextPart_000_0112_01C5E613.64D78460--