Step 1
Click the "Start" in Windows. Select "Run" and type "cmd" in the run box. Type "attrib -h -r -s c:\boot.ini" at the prompt. Press "Enter."
Step 2
Launch Notepad. Open C:\boot.ini. Add the debugger options to the boot.ini file after the startup option that you normally use. Type in "/debug" to start the the kernel debugger, "/debugport" to spedify which serial port to use, "/crashdebug" to send debugging information only after a fatal system error, and "/baudrate" to set the baud rate. If you don't type in values, the defaults for the port and baudrate are Com2 and 19200.
Step 3
Save the file. Go back to the command prompt and type "attrib +h +r +s c:\boot.ini." Hit enter. Exit the command prompt.
Step
4
Attach a null modem cable to the serial port of the target and host computers. Make sure the wiring is correct and that is a true null modem cable, not a serial cable.
Step 5
Copy all the files from the Support\Debug\I386\ folder on the Windows CD to the hard drive. Copy the file remote.exe to the hard drive. Open a command prompt. Type the command "set _nt_debug_port=" followed by the com port that you are using, and hit enter. Type in "nt_symbol_path=c:\debug\symbols" and hit enter. Type
"set _nt_debug_log_file_append=c:\temp\debug.log." Hit enter.
Step 6
Open a command prompt. Type "CD" followed by the name of the folder that the Windows files were copied to. At the prompt, enter "i386kd -v" and press enter. Hit the "Ctrl" key and the "C" key at the same time. The target system should freeze.
Step 7
Key in "!process" at the prompt and press enter. If the debugger is working, you'll see a list of processes. Type "g" and press enter. Type "remote /s "i386kd -v" debug" to start the debug
No comments:
Post a Comment