// JP opened flex table

Click to See Complete Forum and Search --> : debugging driver (.sys) through WINDBG and VMWARE


SweetSarah
March 22nd, 2007, 01:01 AM
Hi All,

i am trying to utilize the WINDBG utility and develop basic understanding of driver development

I have studied many sites and by following

http://www.vmware.com/support/gsx3/doc/devices_serial_debug_gsx.html


I installed WinXP SP2 as target operating system in VM ware and configured the Serial port COM1 on the target system

now when i run the command from Host system

C:/WINDBG> windbg -k com: port=\\.\pipe\COM1,pipe


WinDBG opens the COM1 port but next to it, it says
Waiting to reconnect ....

Later to it there is no response

how can i debug the driver or sys file?



Can you kindly guide me through steps. I am new to it


I will be really really thankful to you.

Regards,

Sarah

djai
March 31st, 2007, 03:09 AM
I’m sending step by step procedure
1. VN add hardware wizard
2. add Serial port
3. use named pipe \\.\pipe\com_1
4. This end is server
5. The other end is application
6. click advance select Yield to CPU poll
7. click finish
8. after booting OS
9. edit boot.ini file
10.example
*****************************************************
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional - DEBUG"
/fastdetect /debugport=com1 /baudrate=115200
*******************************************************
11. add new contents in boot.ini
12. restart VM
13. select debug version
14. now execute WinDbg through your system with this command
15. windbg -b -k com:pipe,port=\\.\pipe\com_1,resets=0
16. Have fun

SweetSarah
April 5th, 2007, 01:37 AM
Thanks it worked :-)

Now i am looking for an example driver to test upon

Any idea for such example???

djai
April 5th, 2007, 04:38 AM
try to find "src" folder in local DDK folder on your system.

thanx

//JP added flex table