bootdebugger

can some one shed a light

i have been trying to get the bootdebugger (ntldr_dbg available in ddk/debug
directory) work

earlier i was trying to get the ntldr_dbg load with w2k sp4 host and i
couldnt succeed (inspite of few offline messages i recieved that stated that
the wdk provided ntldr_dbg is downlevel compatible with windows 2000 )

ok since it didnt work i now created a xp vm and tried my luck with the
ntldr_dbg this too seems like not working

clean winxpsp2 install (nothing installed except whats available in cd)

replaced ntldr with ntldr_dbg from ddk/debugdir

changed boot.ini as usual to have /debug /debugport /baudrate

reboot the vpc

start windbg on host (with \.\pipe\debugpipe)

all i get is debugger not initialised properly message in windbg

is this because there is no real serial port (doesnt using \.\pipe) work
for this ntldr_dbg ?

here is the spew from windbg (log of several restarts resets reboots and
pausing of vpc)

hope i could get a few answers

kd> g
watchdog!WdUpdateRecoveryState: Recovery enabled.
Waiting for all contexts to be flushed
Shutdown occurred…unloading all symbol tables.
Waiting to reconnect…
BD: Boot Debugger Initialized
BD: osloader.exe base address 00400000
Connected to Windows Boot Debugger 2600 x86 compatible target, ptr64 FALSE
Kernel Debugger connection established.
DBGHELP: Symbol Search Path:
srv*d:\websymbols*http://msdl.microsoft.com/download/symbols
Symbol search path is:
srv*d:\websymbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
DBGHELP: SharedUserData - virtual symbol module
Module List address is NULL - debugger not initialized properly.
KdDebuggerData.KernBase < SystemRangeStart
Windows Boot Debugger Kernel Version 2600 UP Checked x86 compatible
Primary image base = 0x00000000 Loaded module list = 0x00000000
System Uptime: not available
The call to LoadLibrary(bootext) failed, Win32 error 2
“The system cannot find the file specified.”
Please check your debugger configuration and/or network access.

SYNCTARGET: Timeout.
Will request initial breakpoint at next boot.
SYNCTARGET: Timeout.
Send sync break
Send Break in …
SYNCTARGET: Timeout.

Send sync break
Send Break in …

SYNCTARGET: Timeout.
SYNCTARGET: Timeout.
Net COM port baud is ignored
Will breakin on first symbol load at next boot.
SYNCTARGET: Timeout.
SYNCTARGET: Timeout.
SYNCTARGET: Timeout.

Send Break in …
Send sync break
Send Break in …

SYNCTARGET: Timeout.
SYNCTARGET: Received KD_RESET ACK packet.
SYNCTARGET: Target synchronized successfully…
Done.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800000,
READ: Received Type 3 data packet with id = 80800000 successfully.

BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

Send Break in …
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
Send Break in …

READ: Wait for type 7 packet
Send Break in …
-------> same output
READ: Wait for type 7 packet
READ: Timeout.

READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.
READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

READ: Timeout.
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
READ: Timeout.

READ: Wait for ACK packet
READ: Timeout.
WRITE: Wait for ACK failed. Resend Packet.
Throttle 0x10 write to 0x1
Throttle 0x40 write to 0x1
READ: Wait for ACK packet
READ: Timeout.
WRITE: Wait for ACK failed. Resend Packet.
Throttle 0x10 write to 0x1
Throttle 0x40 write to 0x1
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 0
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 1
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 2
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 3
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 4
READ: Too many unmatched packets (5), request resync
Resync packet id …Kd sync initial break: off
SYNCTARGET: Received KD_RESET ACK packet.
SYNCTARGET: Target synchronized successfully…
Done.
WRITE: Wait for ACK failed. Resend Packet.
READ: Wait for ACK packet
PacketType=b, ByteCount=54, PacketId=80800000,
READ: Received VALID data packet while waiting for ACK.
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=5, ByteCount=0, PacketId=5f95f,
READ: Received RESEND packet
READ: Target requests resend.
WRITE: Wait for ACK failed. Resend Packet.
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 0
READ: Timeout.

thanks and regards

BLUFFERISME:

Where do you think this it is failing specifically? It looks like it
is connecting, so I don’t think that this is your problem. If you are
talking about the LoadLibrary() 2 message, those are usually about
extensions not being able to be found. The loaded module list is NULL
is, in my experience, normal. I’m not sure what is going on with the
KdDebuggerDataBlock.KernBase < … message, but it is troubling. I
don’t know if this is your problem, but I would recommend using the
ntldr from the checked version of the specific version of ntldr that you
have installed on your target machine. If you have more than one
version of Windows installed on your target, you’ll have to match ntldr
by file size, and then get the cooresponding checked version from the
installation cd. The documentation in WinDbg talks about using $LDR$;
this probably not what you want, unless you are looking to debug setup.
After doing this, I would turn of the extra spew at least for the
moment, break in as early as possible (-b -d & /BREAK), and make sure
that you have symbols loaded and that they make sense (lml and then
check something like bd!_Base). In my experience, a number of error
messages normally appear and seem to be more or less benign; as long as
your symbols are loaded correctly, you are in business. The spew makes
it much more difficult to figure out which of these errors are really
something to be concerned about immediately.

Hope this helps,

mm

>> xxxxx@gmail.com 2006-12-03 08:13 >>>
can some one shed a light

i have been trying to get the bootdebugger (ntldr_dbg available in
ddk/debug
directory) work

earlier i was trying to get the ntldr_dbg load with w2k sp4 host and
i
couldnt succeed (inspite of few offline messages i recieved that stated
that
the wdk provided ntldr_dbg is downlevel compatible with windows 2000 )

ok since it didnt work i now created a xp vm and tried my luck with
the
ntldr_dbg this too seems like not working

clean winxpsp2 install (nothing installed except whats available in
cd)

replaced ntldr with ntldr_dbg from ddk/debugdir

changed boot.ini as usual to have /debug /debugport /baudrate

reboot the vpc

start windbg on host (with \.\pipe\debugpipe)

all i get is debugger not initialised properly message in windbg

is this because there is no real serial port (doesnt using \.\pipe)
work
for this ntldr_dbg ?

here is the spew from windbg (log of several restarts resets reboots
and
pausing of vpc)

hope i could get a few answers

kd> g
watchdog!WdUpdateRecoveryState: Recovery enabled.
Waiting for all contexts to be flushed
Shutdown occurred…unloading all symbol tables.
Waiting to reconnect…
BD: Boot Debugger Initialized
BD: osloader.exe base address 00400000
Connected to Windows Boot Debugger 2600 x86 compatible target, ptr64
FALSE
Kernel Debugger connection established.
DBGHELP: Symbol Search Path:
srv*d:\websymbols*http://msdl.microsoft.com/download/symbols
Symbol search path is:
srv*d:\websymbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
DBGHELP: SharedUserData - virtual symbol module
Module List address is NULL - debugger not initialized properly.
KdDebuggerData.KernBase < SystemRangeStart
Windows Boot Debugger Kernel Version 2600 UP Checked x86 compatible
Primary image base = 0x00000000 Loaded module list = 0x00000000
System Uptime: not available
The call to LoadLibrary(bootext) failed, Win32 error 2
“The system cannot find the file specified.”
Please check your debugger configuration and/or network access.

SYNCTARGET: Timeout.
Will request initial breakpoint at next boot.
SYNCTARGET: Timeout.
Send sync break
Send Break in …
SYNCTARGET: Timeout.

Send sync break
Send Break in …

SYNCTARGET: Timeout.
SYNCTARGET: Timeout.
Net COM port baud is ignored
Will breakin on first symbol load at next boot.
SYNCTARGET: Timeout.
SYNCTARGET: Timeout.
SYNCTARGET: Timeout.

Send Break in …
Send sync break
Send Break in …

SYNCTARGET: Timeout.
SYNCTARGET: Received KD_RESET ACK packet.
SYNCTARGET: Target synchronized successfully…
Done.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800000,
READ: Received Type 3 data packet with id = 80800000 successfully.

BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

Send Break in …
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
Send Break in …

READ: Wait for type 7 packet
Send Break in …
-------> same output
READ: Wait for type 7 packet
READ: Timeout.

READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.
READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

READ: Timeout.
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\ntdetect.com’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
PacketType=b, ByteCount=54, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=4e, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\winnt’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Timeout.

READ: Wait for type 7 packet
READ: Timeout.
READ: Wait for type 7 packet
PacketType=3, ByteCount=2e, PacketId=80800800,
READ: Received Type 3 data packet with id = 80800800 successfully.

READ: Got Sync Id, reset PacketId.
BD: Boot Debugger Initialized
PacketType=3, ByteCount=37, PacketId=80800001,
READ: Received Type 3 data packet with id = 80800001 successfully.

BD: osloader.exe base address 00400000
PacketType=7, ByteCount=fd, PacketId=80800000,
READ: Received Type 7 data packet with id = 80800000 successfully.

READ: Packet type = 7, KdApi64 = 1

>> State change event 3031, proc 0 of 1, str ‘osloader.exe’
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=78, PacketId=80800001,
READ: Received Type 2 data packet with id = 80800001 successfully.

KdReadVirtual(00400000, 40) returns 00000000, 40
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
READ: Wait for type 2 packet
PacketType=2, ByteCount=44, PacketId=80800000,
READ: Received Type 2 data packet with id = 80800000 successfully.

KdReadVirtual(00400040, c) returns 00000000, c
WRITE: Write type 2 packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800000,
READ: Received correct ACK packet.
DbgKdContinue(10002) returns 00000000
READ: Wait for type 7 packet
PacketType=b, ByteCount=5c, PacketId=80800001,
READ: Received Type b data packet with id = 80800001 successfully.

KdFile request for ‘\BOOTFONT.BIN’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
READ: Timeout.

READ: Wait for ACK packet
READ: Timeout.
WRITE: Wait for ACK failed. Resend Packet.
Throttle 0x10 write to 0x1
Throttle 0x40 write to 0x1
READ: Wait for ACK packet
READ: Timeout.
WRITE: Wait for ACK failed. Resend Packet.
Throttle 0x10 write to 0x1
Throttle 0x40 write to 0x1
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=b, ByteCount=5c, PacketId=80800000,
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\hiberfil.sys’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 0
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 1
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 2
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 3
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 4
READ: Too many unmatched packets (5), request resync
Resync packet id …Kd sync initial break: off
SYNCTARGET: Received KD_RESET ACK packet.
SYNCTARGET: Target synchronized successfully…
Done.
WRITE: Wait for ACK failed. Resend Packet.
READ: Wait for ACK packet
PacketType=b, ByteCount=54, PacketId=80800000,
READ: Received VALID data packet while waiting for ACK.
READ: Received Type b data packet with id = 80800000 successfully.

KdFile request for ‘\boot.ini’ returns C000000F
WRITE: Write type b packet
READ: Wait for ACK packet
PacketType=5, ByteCount=0, PacketId=5f95f,
READ: Received RESEND packet
READ: Target requests resend.
WRITE: Wait for ACK failed. Resend Packet.
READ: Wait for ACK packet
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received correct ACK packet.
PacketType=4, ByteCount=0, PacketId=80800001,
READ: Received unmatched packet id = 80800001, Type = 4, accum 0
READ: Timeout.

thanks and regards


You are currently subscribed to windbg as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Martin O’Brien,

Thanks for your response,

I intentionally enabled the spew so some one would be able to spot
some thing amiss in there

now what i don’t understand (don’t know or wont say if it is failing
or not I simply don’t know )

once i reboot the vpc this connects ( this ntldr_dbg is supposed to
bypass boot.ini
as per windbg help file (mapping drivers for boottime (.kdfiles for
acpi.sys etc) file replacement ) so -d -b /break etc all come after it
breaks in windbg and i issue a go isn’t it

it sits here for long long time
http://blufferisme.googlepages.com/bootdebug.PNG

during this time if the debugger is working properly then should i be
able to send
a ctrl+break and break into debugger or not ?

after a long time it goes to the boot.ini screen and what ever options i select

  1. normal boot
  2. /debug
  3. /debug /break
  4. /debug /crashdebug
    5)F-8 debugging mode normal
    6)F-8 debugging mode /break
    7)F-8 debugging mode /debug
    8)F-8 debuging mode /crashdebug

nothing happens it neither goes forward and starts the splash screen
(phase 0 and phase 1 initialization)

or burns and crashes

the windbg window keeps saying the debuggee is running and ctrl+alt+d spew
keeps spewing timeout

i don’t know if i should get the /hal and /kernel checked the windbg
help file doesn’t
say that one should use checked builds for using this debugger enabled ntldr
yeah i will try it out and report if it makes any difference

anyway between the earlier post and now i tried installing a virtual
serial port
serielnull by sudt (isn’t digitally signed don’t know if it is worth
or not it costs ~90 $
made in china 15 days fully functional trial available ) and tried to
use com3 (com1 = physical com3) and com2 in combination (this doesnt
even connect with windbg
windbg sits there saying opened \.\com2 waiting to reconnect and vpc
happily boots off as if nothing happened

this ntldr_dbg has hard coded com1 and baudrate to 115200 it seems
even if i drop the baud rate to bare minimum in boot.ini the initial
bootscreen (see pic above in link) shows boot debugger using com1 baud
rate 115200

not sure what to write and explain
and sorry for this long winded answer

Thanks and Regards

raj_r

On 12/3/06, Martin O’Brien wrote:
> BLUFFERISME:
>
> Where do you think this it is failing specifically? It looks like it
> is connecting, so I don’t think that this is your problem. If you are
> talking about the LoadLibrary() 2 message, those are usually about
> extensions not being able to be found. The loaded module list is NULL
> is, in my experience, normal. I’m not sure what is going on with the
> KdDebuggerDataBlock.KernBase < … message, but it is troubling. I
> don’t know if this is your problem, but I would recommend using the
> ntldr from the checked version of the specific version of ntldr that you
> have installed on your target machine. If you have more than one
> version of Windows installed on your target, you’ll have to match ntldr
> by file size, and then get the cooresponding checked version from the
> installation cd. The documentation in WinDbg talks about using $LDR$;
> this probably not what you want, unless you are looking to debug setup.
> After doing this, I would turn of the extra spew at least for the
> moment, break in as early as possible (-b -d & /BREAK), and make sure
> that you have symbols loaded and that they make sense (lml and then
> check something like bd!_Base). In my experience, a number of error
> messages normally appear and seem to be more or less benign; as long as
> your symbols are loaded correctly, you are in business. The spew makes
> it much more difficult to figure out which of these errors are really
> something to be concerned about immediately.
>
> Hope this helps,
>
> mm

I’m pretty sure that pre-vista you must connect using com1 and a certain
baud rate (that I don’t recall, but I believe is 115200). Where you are
handing it is not uncommon for it to stay there for a long time; the
extra spew makes this worse. However, if you are actually crashing
eventually, then this is probably not your problem.

One thing that I might try is to connect over the same port, baud rate,
et. c. to the regular kernel debugger, just to see if the hardware is
the problem.

mm

>> xxxxx@gmail.com 2006-12-04 06:40 >>>
Martin O’Brien,

Thanks for your response,

I intentionally enabled the spew so some one would be able to spot
some thing amiss in there

now what i don’t understand (don’t know or wont say if it is failing
or not I simply don’t know )

once i reboot the vpc this connects ( this ntldr_dbg is supposed to
bypass boot.ini
as per windbg help file (mapping drivers for boottime (.kdfiles for
acpi.sys etc) file replacement ) so -d -b /break etc all come after it
breaks in windbg and i issue a go isn’t it

it sits here for long long time
http://blufferisme.googlepages.com/bootdebug.PNG

during this time if the debugger is working properly then should i be
able to send
a ctrl+break and break into debugger or not ?

after a long time it goes to the boot.ini screen and what ever options
i select

  1. normal boot
  2. /debug
  3. /debug /break
  4. /debug /crashdebug
    5)F-8 debugging mode normal
    6)F-8 debugging mode /break
    7)F-8 debugging mode /debug
    8)F-8 debuging mode /crashdebug

nothing happens it neither goes forward and starts the splash screen
(phase 0 and phase 1 initialization)

or burns and crashes

the windbg window keeps saying the debuggee is running and ctrl+alt+d
spew
keeps spewing timeout

i don’t know if i should get the /hal and /kernel checked the windbg
help file doesn’t
say that one should use checked builds for using this debugger enabled
ntldr
yeah i will try it out and report if it makes any difference

anyway between the earlier post and now i tried installing a virtual
serial port
serielnull by sudt (isn’t digitally signed don’t know if it is worth
or not it costs ~90 $
made in china 15 days fully functional trial available ) and tried to
use com3 (com1 = physical com3) and com2 in combination (this doesnt
even connect with windbg
windbg sits there saying opened \.\com2 waiting to reconnect and vpc
happily boots off as if nothing happened

this ntldr_dbg has hard coded com1 and baudrate to 115200 it seems
even if i drop the baud rate to bare minimum in boot.ini the initial
bootscreen (see pic above in link) shows boot debugger using com1 baud
rate 115200

not sure what to write and explain
and sorry for this long winded answer

Thanks and Regards

raj_r

On 12/3/06, Martin O’Brien wrote:
> BLUFFERISME:
>
> Where do you think this it is failing specifically? It looks like
it
> is connecting, so I don’t think that this is your problem. If you
are
> talking about the LoadLibrary() 2 message, those are usually about
> extensions not being able to be found. The loaded module list is
NULL
> is, in my experience, normal. I’m not sure what is going on with
the
> KdDebuggerDataBlock.KernBase < … message, but it is troubling. I
> don’t know if this is your problem, but I would recommend using the
> ntldr from the checked version of the specific version of ntldr that
you
> have installed on your target machine. If you have more than one
> version of Windows installed on your target, you’ll have to match
ntldr
> by file size, and then get the cooresponding checked version from
the
> installation cd. The documentation in WinDbg talks about using
$LDR$;
> this probably not what you want, unless you are looking to debug
setup.
> After doing this, I would turn of the extra spew at least for the
> moment, break in as early as possible (-b -d & /BREAK), and make
sure
> that you have symbols loaded and that they make sense (lml and then
> check something like bd!_Base). In my experience, a number of error
> messages normally appear and seem to be more or less benign; as long
as
> your symbols are loaded correctly, you are in business. The spew
makes
> it much more difficult to figure out which of these errors are
really
> something to be concerned about immediately.
>
> Hope this helps,
>
> mm


You are currently subscribed to windbg as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com