I've run into a strange condition on two different reference platforms, both
based on the PXA255 cpu, but using different code bases under CE .Net 4.1
(one is the Wince 4.1 XSC1BD, the other is a 3rd party package).
Both platforms worked fine with RAM based registries. Then I switched over
to Hive based registries, with the hives stored in the PSM file system.
To enable and disable the PSM as the destination for the Hives, I either set
to 1 or 0, respectively, the "Start DevMgr" value under
[HKEY_LOCAL_MACHINE\Init\BootVars].
If I enable the Hive on PSM, the system generates several DEBUGCHKs while
booting, and I lose the use of ActiveSync over USB on one device. The USB
driver appears to be loaded and running, but I cannot connect to the
desktop, and if I open the Networking control panel and try to manually
create a new connection, the USB device is not shown as an option. On the
second system, I lose use of the Compact Flash slot.
If I disable the device manager ( so the Hive winds up in RAM), everything
works just fine.
In both systems, I delete the Hive stored in the PSM, re-enable the device
manager (just to be sure I'm not looking at leftover/old registry data).
I also downloaded and exported the registries, both with and without the
device manager active. I did notice something different between the two:
With the one with the device manager active (i.e. USB not functional), the
two following keys exists that were not in the other version:
[HKEY_LOCAL_MACHINE\Drivers\Active\15]
"Hnd"=dword:003ad7f0
"Key"="Drivers\\BuiltIn"
"ClientInfo"=dword:00000000
[HKEY_LOCAL_MACHINE\Drivers\Active\21]
"Hnd"=dword:003ad860
"Key"="Drivers\\BuiltIn\\TAPI"
"ClientInfo"=dword:00000000
The DEBUGCHK messages are:
4294785347 PID:23ad28e6 TID:23ad28c2 0x83ad2684: RegisterAPISet failed for
api set id 23.
4294785349 PID:23ad28e6 TID:23ad28c2 0x83ad2684: Unknown: DEBUGCHK failed in
file d:\jameson\private\winceos\comm\tapi\tapi\init.c at line 643
4294787589 PID:23ad28e6 TID:23ad28c2 0x83ad2684: RegisterAPISet failed for
api set id 19.
4294787590 PID:23ad28e6 TID:23ad28c2 0x83ad2684: Unknown: DEBUGCHK failed in
file d:\jameson\private\winceos\comm\pm\lib\peginit.c at line 402
4294789722 PID:23ad28e6 TID:c39a7fd6 0x83998400: Unknown: DEBUGCHK failed in
file d:\jameson\private\winceos\comm\pm\lib\buffers.c at line 256
Any idea what this is about?
Thanks