hi,
i have developed a Plug and play driver for windows 2000 and it works
fine for the first time when i insert the device and there is no problem
when i eject the device, loading and unloading are proper for the first
time. but when i insert the device again, the system hangs. how do i know
what the problem is? Any memory problems? I tried to use the driver
verifier to check it but the DV shows nothing more than that the driver is
laoded. I am unable to get the counters for allocations and deallocations,
etc/ How do i use the driver verifier? Can someone please suggest me?
Rgds
Srikanth
“Srikanth” wrote in message news:xxxxx@ntdev…
>
> hi,
> laoded. I am unable to get the counters for allocations and deallocations,
> etc/ How do i use the driver verifier? Can someone please suggest me?
>
Since you don’t say I’ll assume you’re running on XP, and using WinDbg
6.0.17.0 or later.
I suggest you read the documentation for Driver Verifier in the DDK. It
really does describe everything you want to know:
http://www.osr.com/DDK/ddtools/dv_7g8j.htm
You’ll see the info (stats, etc) is available using the !verifier command
from WinDbg:
http://www.osr.com/DDK/ddtools/dv_9pmb.htm
Peter
OSR
Srikanth,
For Pnp testing, use the PnP Driver Test utility which is as a part of the
tools Win2000 DDK.
I guess memory leaks (if ever present) could not cause the problem of your
sort. May be some
logic in your code ( some waits) in the PNP IRP handler could be cause of
this the system
hang. Probably try to put break points in
DriverEntry, AddDevice and IRP_MN_START_DEVICE handler when you insert the
device for the second time and trace the code. This will give you clue in
whether there
is something wrong in your code or something else…
Cheers,
----- Original Message -----
From: “Srikanth”
To: “NT Developers Interest List”
Sent: Monday, August 12, 2002 6:42 AM
Subject: [ntdev] Driver Verifier
> hi,
> i have developed a Plug and play driver for windows 2000 and it works
> fine for the first time when i insert the device and there is no problem
> when i eject the device, loading and unloading are proper for the first
> time. but when i insert the device again, the system hangs. how do i know
> what the problem is? Any memory problems? I tried to use the driver
> verifier to check it but the DV shows nothing more than that the driver is
> laoded. I am unable to get the counters for allocations and deallocations,
> etc/ How do i use the driver verifier? Can someone please suggest me?
>
> Rgds
> Srikanth
>
> —
> You are currently subscribed to ntdev as: xxxxx@vsnl.net
> To unsubscribe send a blank email to %%email.unsub%%
>