summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLeonid Bloch <leonid@daynix.com>2016-01-26 17:20:57 +0200
committerDmitry Fleytman <dfleytma@redhat.com>2016-01-27 09:52:13 +0200
commit50a1e5058d42c29f1277f15fa32b003f4c9006e8 (patch)
tree196cc06c1626ddc73c2a5ea7d72fbf5648775163 /Documentation
parent82b9a59bc489bd882004f73d2adcec66e7d68189 (diff)
Documentation: Include directions for older versions of Windows in WDF log dumping manual
Signed-off-by: Leonid Bloch <leonid@daynix.com> Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/WdfLogDumping.txt55
1 files changed, 28 insertions, 27 deletions
diff --git a/Documentation/WdfLogDumping.txt b/Documentation/WdfLogDumping.txt
index a116b22..c16a9b0 100644
--- a/Documentation/WdfLogDumping.txt
+++ b/Documentation/WdfLogDumping.txt
@@ -1,41 +1,41 @@
1) Download and install the latest version of UsbDk, if you haven't done so
already. It is available from:
- https://github.com/daynix/UsbDk/releases
+ http://www.spice-space.org/download.html
-2) Download the latest WDK from here:
+2) Download WDK suitable for your system:
- https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx
+ Windows 7 and newer versions:
- Look for the link named "Download WDK 8.1 Update", or whatever the latest
- version is. It is advised to use the latest version always.
+ https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx
-3) Enable local kernel-mode debugging:
+ Look for the link named "Download WDK 8.1 Update", or whatever the latest
+ version is. It is advised to use the latest version always.
- a) Open a Command Prompt window as the Administrator.
- b) Run "bcdedit /debug on".
- c) On Windows 8 and later, run "bcdedit /dbgsettings local".
- d) Reboot the computer.
+ Windows XP/Server 2003:
-4) Set logging parameters for UsbDk: run the "Tools/RegSettingsForWdfLog.reg"
- file from UsbDk source tree on the intended machine.
+ https://www.microsoft.com/en-us/download/details.aspx?id=11800
- * ALTERNATIVELY, these, and other settings can be set using a GUI:
+ Download Windows Driver Kit Version 7.1.0, newer versions will not work.
- a) Launch WdfVerifier. Its default path should look like that:
- For 64-bit systems:
- "C:\Program Files (x86)\Windows Kits\8.1\Tools\x64\wdfverifier.exe"
- For 32-bit systems:
- "C:\Program Files (x86)\Windows Kits\8.1\Tools\x86\wdfverifier.exe"
- b) Under the "WDF Drivers" tab look for "UsbDk.sys" and click the plus sign
- near it. Change the following settings (right-click to change):
+3) Enable local kernel-mode debugging:
+
+ * On Windows Vista/Server 2008 and later:
+
+ a) Open a Command Prompt window as the Administrator.
+ b) Run "bcdedit /debug on".
+ c) On Windows 8 and later, run "bcdedit /dbgsettings local".
+ d) Reboot the computer.
- i) Set VerifierOn to "ON"
- ii) Set VerboseOn to "ON"
- iii) Set LogPages to "16"
- iv) Set VerifyDownLevel to "ON"
+ * On Windows 2000/XP/Server 2003:
- c) Click "Apply"
+ a) Open the Command Prompt.
+ b) Run "bootcfg", and note the ID of the targeted operating system.
+ c) Run "bootcfg /debug ON /ID X" (REPLACE X WITH ID NOTED BEFORE).
+ d) Reboot the computer.
+
+4) Set logging parameters for UsbDk: run the "Tools/RegSettingsForWdfLog.reg"
+ file from UsbDk source tree on the intended machine.
5) Reboot the machine.
@@ -44,6 +44,7 @@
a) Open a Command Prompt window as the Administrator.
b) Change directory to where WinDbg is installed. FOR EXAMPLE:
'cd "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64"'
+ (or 'cd C:\WinDDK\7600.16385.1\Debuggers' on Windows XP)
c) Run WinDbg connected to the local machine: "windbg -kl"
d) Load the WDF debugger extension:
"!load wdfkd.dll"
@@ -54,9 +55,9 @@
Windows 7 and later:
"!wdftmffile C:\temp\Wudf01011.tmf"
Windows XP:
- "!wdftmffile C:\temp\Wudf01009.tmf"
+ "!wdftmffile C:\WinDDK\7600.16385.1\Tools\tracing\i386\Wudf01009.tmf"
- * The default path to this file looks like:
+ * The default path to this file on later versions than XP/2003 looks like:
For 64-bit systems:
"C:\Program Files (x86)\Windows Kits\8.1\Tools\x64\Tracing",
For 32-bit systems: