November 13, 2003

DevCon:Windows Core Testing Best Practices

I have been looking forward to this session. I really want to expand on our testing best practices and thought it would be nice to see how others are doing it.

Especially when it comes to configuration and use of the kernel debugger (WinDbg). I also would like to learn how to better use the software in the DDK to accomplish much of this. From what I am hearing, I am at the right session!

And it begins...

Its neat to see what Microsoft uses. They use special serial paddles that can host 16 machines to the debugger machine. And they can host 2 paddles for each multiport PCI card. So you can see they can debug a lot of machines via serial really quickly.

Note to self, check slides for neat script on launching KD sessions with proper Symbols

Hmm, neat switches for configuring Windows for debugging. I like the /noguiboot option. Will need to check that out. This presenter is really engaging. He not only knows his stuff, but he really can deliver how to use a tonne of unknown/undocumented features (well they are documented on the slides now). He is the guy that does all the testing here, and getting info from his experience is awesome.

Just learned an excellent way to enable driver verifier with a hack to the Hivesys.inf. Man is that a sweet hack! Check it out:

HKLM, "SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management", "VerifyDriverLevel", 0x00010001, 251

HKLM, "SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management", "VerifyDrivers", 0x00000000, "mydriver.sys"

You can obviously modify that during setup using regedit, but the fact you can do it before could make automated scripting work really easy, especially with my VMWare stuff. Should be fun.

I need to download the updated HCT Kit. These tests are just awesome, and are what WHQL uses as part of the test harness for the logo program. Many driver developers are NOT doing this correctly, and as such, is why some drivers have so many issues on the Windows platforms. These are free, just not always being used.

Posted by SilverStr at November 13, 2003 11:23 AM | TrackBack