Hi,
to figure out the reason for a BSOD during the DevPathExer test, I added several DbgPrints to our code. Then I attached the WinDbg. In the WinDbg I stored all info with .logopen d:\my.log in a log file. Now I started with:
DevPathExer /lwa /HCT /dr OurDirver
the DevPathExer test.
The DevPathExer needs 40 minutes to produce a BSOD.
When I do not attache the WinDbg (but still use the exactly same sys file, which still contains the DbgPrints) the DevPathExer test will produce the SAME BSOD in JUST ONE MINUTE!
================================================
After adding / modifying DbgPrints in the Code I don’t want always wait 40 minutes to get the new BSDO and the new log file (that I produce with the above described way).
Therefore I tried several things:
With the DevPathExer options /c and /r I tried to produce the crashn.log & crash.log. I read here:
http://msdn.microsoft.com/en-us/library/ff544854.aspx
that you can use the /r option to execute just on sub test of DevPathExer. But it didn’t worked properer.
They say you can delete the test, which you want to perform from the crashn.log. The option /r should skip all the test in crashn.log. But the test removed from crashn.log should be perfromed. I tried this way, without success.
When I perform
DevPathExer /lwa /HCT /dr OurDirver
without attached WinDbg one of the last thing in the command line box, that I read was something like IOCTL/ FSCTL. Therefore tried:
DevPathExer /fn and DevPathExer /in
==> my hope was to get the same BSOD with only performing this " Zero-Length Buffer Test " . But with this options I did not got the BSOD in just one minute. Since those both options also lead to long tests without the desired BSOD I stopped this tests. Even with detached WinDbg these options lead to tests longer than a minute.
=================================
Since one of the last thing that I always read before the BSOD is IOCTL/ FSCTL. I think that my BSDO is produces bye a " Zero-Length Buffer Test ".
===> What must I do, to get a BSDO after JUST ONE MINUTE, EVEN WHEN THE WINDBG IS ATTACHED ???
Thanks in advance for all your helpful hints.