I'm building an ARM image on 6.0. PB connects with everything execpt
KDBG service. Output is below. It will progress no further and just
frequently print out "!Received config for unrecognized service KDBG".

Enable kernel debugger is checked. Enable KITL is also checked. I've
ran Clean Sysgen after enabling them.

I've also manually built clearing and setting variables, as found in
prior post.

For some reason it appears to not be including kernel debugger
support.

Any ideas?

------------------------------------------------------------------------------
Connecting to Desktop
KITL: Connected host IP: 1 Port: 1271
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -1
KeyIndex 6 = -1
KeyIndex 7 = -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
-OEMKitlStartup(rc = 1)
Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service DBGMSG
!Received config for unrecognized service KDBG
ProcessAdminMsg: Receive Config message for service PPSH
!Received config for unrecognized service KDBG
!Received config for unrecognized service KDBG
!Received config for unrecognized service KDBG
!Received config for unrecognized service KDBG
!Received config for unrecognized service KDBG

Re: 6.0 KITL - "unrecognized service KDBG" by Michel

Michel
Mon Jun 09 15:49:24 PDT 2008

You don't need to do a sysgen and certainly not a clean sysgen when you
change build options (like enable kernel debugger etc). Please read
this: http://guruce.com/blogpost/whattobuildwhen

Did you select "KdStub" in the dropdown box for "Debugger" in
connectivity settings?



Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Joel Winarske wrote:
> I'm building an ARM image on 6.0. PB connects with everything execpt
> KDBG service. Output is below. It will progress no further and just
> frequently print out "!Received config for unrecognized service KDBG".
>
> Enable kernel debugger is checked. Enable KITL is also checked. I've
> ran Clean Sysgen after enabling them.
>
> I've also manually built clearing and setting variables, as found in
> prior post.
>
> For some reason it appears to not be including kernel debugger
> support.
>
> Any ideas?
>
> ------------------------------------------------------------------------------
> Connecting to Desktop
> KITL: Connected host IP: 1 Port: 1271
> KeyIndex 0 = -1
> KeyIndex 1 = -1
> KeyIndex 2 = -1
> KeyIndex 3 = -1
> KeyIndex 4 = -1
> KeyIndex 5 = -1
> KeyIndex 6 = -1
> KeyIndex 7 = -1
> +KITLRegisterDfltClient, service:0
> +KITLRegisterDfltClient, service:1
> -OEMKitlStartup(rc = 1)
> Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
> ProcessAdminMsg: Receive Config message for service DBGMSG
> ProcessAdminMsg: Receive Config message for service PPSH
> ProcessAdminMsg: Receive Config message for service DBGMSG
> ProcessAdminMsg: Receive Config message for service DBGMSG
> !Received config for unrecognized service KDBG
> ProcessAdminMsg: Receive Config message for service PPSH
> !Received config for unrecognized service KDBG
> !Received config for unrecognized service KDBG
> !Received config for unrecognized service KDBG
> !Received config for unrecognized service KDBG
> !Received config for unrecognized service KDBG

Re: 6.0 KITL - "unrecognized service KDBG" by Joel

Joel
Mon Jun 09 16:34:30 PDT 2008

>
> Did you select "KdStub" in the dropdown box for "Debugger" in
> connectivity settings?
>

Yes KdStub is selected as the debugger.


Re: 6.0 KITL - "unrecognized service KDBG" by Sheetal

Sheetal
Wed Jun 11 02:07:00 PDT 2008

Hi Joel,

Could you paste the "Output"-window-in-PB messages here?
Do you see a message something like "KD: Starting kernel debugger software
probe (KdStub)" there? which registers this service?

Regards,
-Sheetal.

"Joel Winarske" wrote:

> >
> > Did you select "KdStub" in the dropdown box for "Debugger" in
> > connectivity settings?
> >
>
> Yes KdStub is selected as the debugger.
>
>

Re: 6.0 KITL - "unrecognized service KDBG" by Joel

Joel
Wed Jun 11 13:30:38 PDT 2008

I won't have access to my 6.0 output until Friday, but I do recall not
seeing this message in 6.0. I do have access to my source though.

As expected once config messages for DBGMSG are received, the debug
output switches to PB output window. The message unrecognized service
continues to print on serial output. This is the only thing that
continues to print to serial port. The PB output is info about kernel
starting up, CacheClear msgs, etc. This eventually stops, with
continual serial output msg of unrecognized service.

In my 5.0 version of this BSP the Kernel debugger works fine.

I am building kitl.dll, and in my kitl.c I implement:
DWORD OALGetTickCount(void) {...}
BOOL OEMKitlStartup (void)
{
=2E..
KITLArgs.flags =3D (OAL_KITL_FLAGS_ENABLED | OAL_KITL_FLAGS_DHCP |
OAL_KITL_FLAGS_VMINI);
=2E..
if (gDeviceId[0] =3D=3D '\0')
{
strncpy(gDeviceId, "ATF", sizeof("ATF") -1 );
KITLArgs.flags |=3D OAL_KITL_FLAGS_EXTNAME;
}
rc =3D OALKitlInit(gDeviceId, &KITLArgs, g_kitlDevice); // this
returns TRUE
=2E..
}

If I disable KITL in Build Options, the kernel boots fine.


Joel


On Jun 11, 2:07=A0am, Sheetal <Shee...@discussions.microsoft.com> wrote:
> Hi Joel,
>
> Could you paste the "Output"-window-in-PB messages here?
> Do you see a message something like "KD: Starting kernel debugger software=

> probe (KdStub)" there? which registers this service?
>
> Regards,
> -Sheetal.
>
>
>
> "Joel Winarske" wrote:
>
> > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > connectivity settings?
>
> > Yes KdStub is selected as the debugger.- Hide quoted text -
>
> - Show quoted text -


Re: 6.0 KITL - "unrecognized service KDBG" by Tushar

Tushar
Wed Jun 11 17:50:00 PDT 2008

Hi Sheetal,
I see the message "KD: Starting kernel debugger software
probe (KdStub)" and then the next message is "PB Debugger connected" but
then after my wince target hangs!!

Could you guide?

Thanks.

Sincerely,
Tushar Dave



> Hi Joel,
>
> Could you paste the "Output"-window-in-PB messages here?
> Do you see a message something like "KD: Starting kernel debugger software
> probe (KdStub)" there? which registers this service?
>
> Regards,
> -Sheetal.
>
> "Joel Winarske" wrote:
>
> > >
> > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > connectivity settings?
> > >
> >
> > Yes KdStub is selected as the debugger.
> >
> >

Re: 6.0 KITL - "unrecognized service KDBG" by Joel

Joel
Wed Jun 11 21:42:59 PDT 2008

Tushar please do not high jack peoples threads. It's a rude thing to
do.



On Jun 11, 5:50=A0pm, Tushar <Tus...@discussions.microsoft.com> wrote:
> Hi Sheetal,
> I see the message =A0"KD: Starting kernel debugger software
> probe (KdStub)" and then the next message is "PB Debugger connected" but
> then after my wince target hangs!!
>
> Could you guide?
>
> Thanks.
>
> Sincerely,
> Tushar Dave
>
>
>
> > Hi Joel,
>
> > Could you paste the "Output"-window-in-PB messages here?
> > Do you see a message something like "KD: Starting kernel debugger softwa=
re
> > probe (KdStub)" there? which registers this service?
>
> > Regards,
> > -Sheetal.
>
> > "Joel Winarske" wrote:
>
> > > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > > connectivity settings?
>
> > > Yes KdStub is selected as the debugger.- Hide quoted text -
>
> - Show quoted text -


Re: 6.0 KITL - "unrecognized service KDBG" by Tushar

Tushar
Thu Jun 12 09:44:01 PDT 2008

Hi Joel,
I apologize for sending message in your thread.
Sorry for inconvenience.

Thanks.

Sincerely,
Tushar Dave

"Joel Winarske" wrote:

> Tushar please do not high jack peoples threads. It's a rude thing to
> do.
>
>
>
> On Jun 11, 5:50 pm, Tushar <Tus...@discussions.microsoft.com> wrote:
> > Hi Sheetal,
> > I see the message "KD: Starting kernel debugger software
> > probe (KdStub)" and then the next message is "PB Debugger connected" but
> > then after my wince target hangs!!
> >
> > Could you guide?
> >
> > Thanks.
> >
> > Sincerely,
> > Tushar Dave
> >
> >
> >
> > > Hi Joel,
> >
> > > Could you paste the "Output"-window-in-PB messages here?
> > > Do you see a message something like "KD: Starting kernel debugger software
> > > probe (KdStub)" there? which registers this service?
> >
> > > Regards,
> > > -Sheetal.
> >
> > > "Joel Winarske" wrote:
> >
> > > > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > > > connectivity settings?
> >
> > > > Yes KdStub is selected as the debugger.- Hide quoted text -
> >
> > - Show quoted text -
>
>

Re: 6.0 KITL - "unrecognized service KDBG" by Joel

Joel
Fri Jun 13 21:47:28 PDT 2008

This is the output:

----------------------------------------------------------------------------=
-------------------------
Serial Output
----------------------------------------------------------------------------=
-------------------------

rom_offset=3D0x80000000.
ImageStart =3D 0xC0000, ImageLength =3D 0x7C2B88, LaunchAddr =3D 0xC1000

Completed file(s):
----------------------------------------------------------------------------=
---
[0]: Address=3D0xC0000 Length=3D0x7C2B88 Name=3D"" Target=3DRAM
ROMHDR at Address 000C0044h
INFO: Jumping to image at 0x000C1000...
Windows CE Kernel for ARM (Thumb Enabled) Built on Mar 28 2008 at
15:27:58
ProcessorType=3D0920 Revision=3D0
OEMAddressTable =3D 800c1090
+OEMKitlStartup MAC
DeviceId................. ATF63804
pArgs->flags............. 0x5
pArgs->devLoc.IfcType.... -1
pArgs->devLoc.LogicalLoc. 0xB0010000
pArgs->devLoc.PhysicalLoc 0xB0010000
pArgs->devLoc.Pin........ 23
pArgs->ip4address........ 0
pDevice->Name............ s
pDevice->ifcType......... -1
pDevice->id.............. 0xB0010000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x808D2004
Detected Micrel KS8721BL PHY at address: 1
EthernetMAC: PhyId=3D1 PhyType=3D6 Speed=3D100 Mbs Duplex=3DFull.
KITL: *** Device Name ATF63804 ***
+OEMIoControl(0x1010098, 0xffffc538, 12, 0xffffc52c, 4, 0x0)
+OALIoCtlHalRequestSysIntr
+OALIoCtlHalRequestSysIntr(rc =3D 1)
-OEMIoControl(rc =3D 1)
KITL: using sysintr 0x17
KITL: DHCP get/renew device IP: 1
Connecting to Desktop
KITL: Connected host IP: 1 Port: 3107
KeyIndex 0 =3D -1
KeyIndex 1 =3D -1
KeyIndex 2 =3D -1
KeyIndex 3 =3D -1
KeyIndex 4 =3D -1
KeyIndex 5 =3D -1
KeyIndex 6 =3D -1
KeyIndex 7 =3D -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
-OEMKitlStartup(rc =3D 1)
Waiting for service 'DBGMSG' to connect..., fUseSysCalls =3D 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
!Received config for unrecognized service KDBG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
!Received config for unrecognized service KDBG


----------------------------------------------------------------------------=
-------------------------
DBGMSG output
----------------------------------------------------------------------------=
-------------------------

PB Debugger The Kernel Debugger is waiting to connect with target.
4294767296 PID:0 TID:2 Processor =3D 200Mhz, Bus =3D 100Mhz
4294767296 PID:0 TID:2 -OEMInit
4294767296 PID:0 TID:2 MDValidateRomChain: XIP (800c0000 -> 80882b88)
span accross multiple memory region
4294767296 PID:0 TID:2 WARNING! XIP region span accross discontigious
memory!!! System might not work properly on some flash parts!
4294767296 PID:0 TID:2 Setting up softlog at 0x83ffc000 for 0x800
entries
4294767296 PID:0 TID:2 Booting Windows CE version 6.00 for (ARM)
4294767296 PID:0 TID:2 &pTOC =3D 80915c1c, pTOC =3D 808182e8, pTOC-
>ulRamFree =3D 8091a000, MemForPT =3D 00001000
4294767296 PID:0 TID:2 OEMGetExtensionDRAM
4294767296 PID:0 TID:2 Configuring: Primary pages: 14041, Secondary
pages: 0, Filesystem pages =3D 3510
4294767296 PID:0 TID:2 Booting kernel with clean memory configuration:
4294767296 PID:0 TID:2 Memory Sections:
4294767296 PID:0 TID:2 [0] : start: 8091c000, extension: 00007000,
length: 036d9000
4294767296 PID:0 TID:2 NKStartup done, starting up kernel.
7284 PID:0 TID:2 Windows CE KernelInit


On Jun 11, 2:07=A0am, Sheetal <Shee...@discussions.microsoft.com> wrote:
> Hi Joel,
>
> Could you paste the "Output"-window-in-PB messages here?
> Do you see a message something like "KD: Starting kernel debugger software=

> probe (KdStub)" there? which registers this service?
>
> Regards,
> -Sheetal.
>
>
>
> "Joel Winarske" wrote:
>
> > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > connectivity settings?
>
> > Yes KdStub is selected as the debugger.- Hide quoted text -
>
> - Show quoted text -


Re: 6.0 KITL - "unrecognized service KDBG" by Joel

Joel
Mon Jun 16 01:31:14 PDT 2008

This was caused by an incorrect RAM configuration. The design uses up
to eight non-contguous regions of memory. I straightened it out.



On Jun 13, 9:47=A0pm, Joel Winarske <joel.winar...@gmail.com> wrote:
> This is the output:
>
> --------------------------------------------------------------------------=
-=AD--------------------------
> Serial Output
> --------------------------------------------------------------------------=
-=AD--------------------------
>
> rom_offset=3D0x80000000.
> ImageStart =3D 0xC0000, ImageLength =3D 0x7C2B88, LaunchAddr =3D 0xC1000
>
> Completed file(s):
> --------------------------------------------------------------------------=
-=AD----
> [0]: Address=3D0xC0000 =A0Length=3D0x7C2B88 =A0Name=3D"" Target=3DRAM
> ROMHDR at Address 000C0044h
> INFO: Jumping to image at 0x000C1000...
> Windows CE Kernel for ARM (Thumb Enabled) Built on Mar 28 2008 at
> 15:27:58
> ProcessorType=3D0920 =A0Revision=3D0
> OEMAddressTable =3D 800c1090
> +OEMKitlStartup MAC
> DeviceId................. ATF63804
> pArgs->flags............. 0x5
> pArgs->devLoc.IfcType.... -1
> pArgs->devLoc.LogicalLoc. 0xB0010000
> pArgs->devLoc.PhysicalLoc 0xB0010000
> pArgs->devLoc.Pin........ 23
> pArgs->ip4address........ 0
> pDevice->Name............ =A0s
> pDevice->ifcType......... -1
> pDevice->id.............. 0xB0010000
> pDevice->resource........ 0
> pDevice->type............ 2
> pDevice->pDriver......... 0x808D2004
> Detected Micrel KS8721BL PHY at address: 1
> EthernetMAC: PhyId=3D1 PhyType=3D6 Speed=3D100 Mbs Duplex=3DFull.
> KITL: *** Device Name ATF63804 ***
> +OEMIoControl(0x1010098, 0xffffc538, 12, 0xffffc52c, 4, 0x0)
> +OALIoCtlHalRequestSysIntr
> +OALIoCtlHalRequestSysIntr(rc =3D 1)
> -OEMIoControl(rc =3D 1)
> KITL: using sysintr 0x17
> KITL: DHCP get/renew device IP: 1
> Connecting to Desktop
> KITL: Connected host =A0IP: 1 =A0Port: 3107
> =A0KeyIndex 0 =3D -1
> =A0KeyIndex 1 =3D -1
> =A0KeyIndex 2 =3D -1
> =A0KeyIndex 3 =3D -1
> =A0KeyIndex 4 =3D -1
> =A0KeyIndex 5 =3D -1
> =A0KeyIndex 6 =3D -1
> =A0KeyIndex 7 =3D -1
> +KITLRegisterDfltClient, service:0
> +KITLRegisterDfltClient, service:1
> -OEMKitlStartup(rc =3D 1)
> Waiting for service 'DBGMSG' to connect..., fUseSysCalls =3D 0
> ProcessAdminMsg: Receive Config message for service DBGMSG
> ProcessAdminMsg: Receive Config message for service PPSH
> ProcessAdminMsg: Receive Config message for service DBGMSG
> !Received config for unrecognized service KDBG
> ProcessAdminMsg: Receive Config message for service PPSH
> ProcessAdminMsg: Receive Config message for service DBGMSG
> !Received config for unrecognized service KDBG
>
> --------------------------------------------------------------------------=
-=AD--------------------------
> DBGMSG output
> --------------------------------------------------------------------------=
-=AD--------------------------
>
> PB Debugger The Kernel Debugger is waiting to connect with target.
> 4294767296 PID:0 TID:2 Processor =3D 200Mhz, Bus =3D 100Mhz
> 4294767296 PID:0 TID:2 -OEMInit
> 4294767296 PID:0 TID:2 MDValidateRomChain: XIP (800c0000 -> 80882b88)
> span accross multiple memory region
> 4294767296 PID:0 TID:2 WARNING! XIP region span accross discontigious
> memory!!! System might not work properly on some flash parts!
> 4294767296 PID:0 TID:2 Setting up softlog at 0x83ffc000 for 0x800
> entries
> 4294767296 PID:0 TID:2 Booting Windows CE version 6.00 for (ARM)
> 4294767296 PID:0 TID:2 &pTOC =3D 80915c1c, pTOC =3D 808182e8, pTOC->ulRamF=
ree =3D 8091a000, MemForPT =3D 00001000
>
> 4294767296 PID:0 TID:2 OEMGetExtensionDRAM
> 4294767296 PID:0 TID:2 Configuring: Primary pages: 14041, Secondary
> pages: 0, Filesystem pages =3D 3510
> 4294767296 PID:0 TID:2 Booting kernel with clean memory configuration:
> 4294767296 PID:0 TID:2 Memory Sections:
> 4294767296 PID:0 TID:2 [0] : start: 8091c000, extension: 00007000,
> length: 036d9000
> 4294767296 PID:0 TID:2 NKStartup done, starting up kernel.
> =A0 =A07284 PID:0 TID:2 Windows CE KernelInit
>
> On Jun 11, 2:07=A0am, Sheetal <Shee...@discussions.microsoft.com> wrote:
>
>
>
> > Hi Joel,
>
> > Could you paste the "Output"-window-in-PB messages here?
> > Do you see a message something like "KD: Starting kernel debugger softwa=
re
> > probe (KdStub)" there? which registers this service?
>
> > Regards,
> > -Sheetal.
>
> > "Joel Winarske" wrote:
>
> > > > Did you select "KdStub" in the dropdown box for "Debugger" in
> > > > connectivity settings?
>
> > > Yes KdStub is selected as the debugger.- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -