Reputation: 90
I have a mini port network driver installed on my PC . I want to debug kernel mode to find the mistakes of my driver . i Know i can use WinDbg
tool for getting logs but i heard about the Ndiskd
extension . How to install this ? Is this a tool ? or can i use with command prompt
or with WinDbg
? can i get setup by setup installation procedure ? what are the requirements needed ? i tried with WinDbg but i can't get the proper logs from that . So that's why i search on internet and got about the ndiskd .
Upvotes: 0
Views: 1220
Reputation: 59208
ndiskd
is a debugger extension for WinDbg (or ntsd or kd, whatever you like most). Once you know this, it's just a matter on how to load the extension. There are three ways:
.load ndiskd
if it is placed in WinDbgs extension directory, which it is by default on my WinDbg 6.2.9200 and 9.2.9600 installations (winxp
subdirectory). Use .extpath
to see which directories are searched by default..load <full path\ndiskd.dll>
.loadby <reference module> ndiskd
I never used the latter in kernel debugging, the only real benefit is in .loadby sos clr
, so I guess you go with one of the first two options.
Once you have done that, you can access the ndiskd
debugger extension by its !
-commands. To explicitly call such a command, use
!ndiskd.<command>
e.g.
!ndiskd.miniport
Upvotes: 2