The system hive worked on a Geode build using PB4.1 but locks up using PB
4.2
The target uses an IDE HardDrive for hive storage.
In both PlatformBuilder 4.1 and 4.2, the hive registry settings are:
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Documents and Settings\\system.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:1
[$(PCI_BUS_ROOT)\Template\GeodeIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GeodeIDE\Device0]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountFlags"=dword:2
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
In 4.2 the GEODE system locks up after Initializing the volume heap which is
the last debug message output.
4294768981 ...FS: Registering file system Hard Disk, index 4, flags
0x00000002
4294768983 ...FILESYS: Device started. Boot file system ready.
4294768991 ...FSVOL: Opening existing volume
4294768993 ...FSVOL: Volume heap already initialized
4294768993 ...FSREG: Mounted ROM portion of system hive
4294768994 ...FILESYS: Loading system hive from Hard Disk\Documents and
Settings\system.hv.
4294769027 ...ERROR:
d:\mckendric\private\winceos\coreos\filesys\heap\.\volume.c line 461:
4294769027 ...FSVOL: Aborting init on non-volume
4294769028 ...FSREG: Mounting clean system hive
4294769029 ...BuildPath: Hard Disk
4294769029 ...FATFS!FAT_CreateDirectoryW(1 chars: \) returned FALSE (183)
4294769030 ...BuildPath: Hard Disk\Documents and Settings
4294769031 ...FATFS!FAT_CreateDirectoryW(23 chars: \Documents and Settings)
returned FALSE (183)
4294769034 ...FSVOL: Opening existing volume
4294769034 ...FSVOL: Creating new volume
4294769177 ...FSVOL: Initializing volume heap
4294769207 ...FSREG: Taking down boot registry. Any open keys will be
invalid.
4294769275 ...FILESYS: Registry in place.
4294769279 ...FSREG: Unable to read value "DBFlags" under
HKEY_LOCAL_MACHINE\init\BootVars
4294769349 ...FSREG: Unable to read value "NoDefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
4294769350 ...FSREG: Logging in default user.
4294769350 ...FSREG: Unable to read value "DefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
4294769351 ...SetCurrentUser: Logging out (nobody), logging in default
4294769353 ...FSREG: Mounting ROM portion of user hive
4294769361 ...FSVOL: Opening existing volume
4294769363 ...FSVOL: Volume heap already initialized
4294769364 ...Mounting user hive from Hard Disk\Documents and
Settings\default\user.hv
4294769373 ...ERROR:
d:\mckendric\private\winceos\coreos\filesys\heap\.\volume.c line 461:
4294769374 ...FSVOL: Aborting init on non-volume
4294769375 ...FSREG: Mounting clean user hive
4294769377 ...FSVOL: Opening existing volume
4294769378 ...FSVOL: Creating new volume
4294769433 ...FSVOL: Initializing volume heap
In 4.1 the boot up continues after this:
4294769711 ...FS: Registering file system Hard Disk, index 4, flags
0x00000002
4294769714 ...FILESYS: Device started. Boot file system ready.
4294769716 ...FSVOL: Opening existing volume
4294769718 ...FSVOL: Volume heap already initialized
4294769719 ...FSREG: Mounted ROM portion of system hive
4294769719 ...FILESYS: Loading system hive from Hard Disk\Documents and
Settings\system.hv.
4294769758 ...FSVOL: Opening existing volume
4294769766 ...FSVOL: Volume heap already initialized
4294769772 ...FSREG: Mounted existing system hive
4294769772 ...FSREG: Taking down boot registry. Any open keys will be
invalid.
4294769797 ...FILESYS: Registry in place.
4294769797 ...FSREG: Set persist value (0)
4294770028 ...FSREG: Unable to read value "NoDefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
4294770028 ...FSREG: Logging in default user.
4294770029 ...FSREG: Unable to read value "DefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
4294770030 ...SetCurrentUser: Logging out (nobody), logging in default
4294770045 ...FSREG: Mounting ROM portion of user hive
4294770047 ...FSVOL: Opening existing volume
4294770049 ...FSVOL: Volume heap already initialized
4294770050 ...Mounting user hive from Hard Disk\Documents and
Settings\default\user.hv
4294770095 ...FSVOL: Opening existing volume
4294770100 ...FSVOL: Volume heap already initialized
4294770105 ...FSREG: Set persist value (0)
4294770188 ...
Initializing Database
4294770192 ...Filesystem initialized!
The relevant difference seems to be:
ERROR: d:\mckendric\private\winceos\coreos\filesys\heap\.\volume.c
Who is mckendric?