[vbox-dev] Windows guests + WinDbg

IakovK plt at ultersys.ru
Thu Mar 6 12:59:55 GMT 2008


Thank you for response. Maybe I look idiot, but I am not. Sorry for mistake in 
typing (COM2_pipe vs VBOX_pipe). I pasted these from two different experiments. 
It is just typo. Of course I meant tem be the same. Now, when I am typing this, 
the VirtualBox screen is black, the WinDbg screen contains:

Microsoft (R) Windows Debugger Version 6.8.0004.0 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\pipe\VBOX_pipe
Waiting to reconnect...
Connected to Windows Server 2003 3790 x86 compatible target, ptr64 FALSE
Kernel Debugger connection established.
Symbol search path is: SRV*c:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: 

This is what WinDbg says on Ctrl-alt-D:
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
READ: Received INVALID packet type.
Throttle 0x10 write to 0x1
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=0, PacketId=808af180,
READ: Received INVALID packet Id.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=0, PacketId=808a27e0,
READ: Received INVALID packet Id.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=338, PacketId=80800000,

and nothing else.
I would be glad if it just worked but it doesn't.
To be sure, this is the line from VM cfg file:
        <Port IOBase="0x3f8" IRQ="4" enabled="true" hostMode="HostPipe" 
path="\\.\pipe\VBOX_pipe" server="true" slot="0"/>
this is the command line of Windbg:
---------------------------
WinDbg:6.8.0004.0 
---------------------------
"C:\Program Files\Debugging Tools for Windows\windbg.exe" -T "Debug 
VirtualBox" -y SRV*c:\Symbols*http://msdl.microsoft.com/download/symbols -k 
com:pipe,port=\\.\pipe\VBOX_pipe 
---------------------------
OK   
---------------------------

The WinDbg log says:
READ: Packet trailing byte timeout.
READ: Ask for resend (ackable).
      PacketType=2, ByteCount=0, PacketId=808a27e0,
READ: Received INVALID packet Id.

Seems that VirtualBox forgot to send couple of bytes to WinDbg(Packet trailing 
byte timeout), then, after WinDbg asked to repeat, it sent them, and WinDbg 
received them as INVALID packet Id.

I would be glad to receive any hints that would enable me to track this issue 
and propose solution.

After that I have restarted WinDbg (VirtualBox is still hanging) and the result 
is:

Microsoft (R) Windows Debugger Version 6.8.0004.0 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\pipe\VBOX_pipe
Waiting to reconnect...

Thank you.







More information about the vbox-dev mailing list