Daniel Pearson: Debugging a Windows Blue Screen of Death
- Posted: Jul 16, 2008 at 12:22 PM
- 96,191 Views
- 16 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Let me guess, something really boring like everything going blank, or my computer restarting (or not)?
C
If this sort of thing is of intreast to you, this is a must see Sysinternals Video Library
That doesn't sound good charles
.. I was interested because.. if theres no one "there" ie, the kernel itself doing its bugcheck code has crashed out due to a hardware fault.. does my system just sit there... I assume I'd still have display because the
gpu would just be outputting the last buffer it was given?

But I've watched the video now, really cool, loved the idea of trapping a driver by putting it on a "known offenders" list, and luring into doing something it will get caught red handed for..
This keeps happening on my machine and there's no way for me to debug given that no data on the fault is preserved (or even captured). Clearly, it's a device driver malfunction. I suspect it's a driver that's not Vista Ready...
What's one to do in this case, Daniel?
C
It's simple really - boot device drivers have special requirements, which lead to the ability to save crash dumps.
A storage driver written any old way won't be able to do this. Windows loads an extra copy of the boot driver, kernel crash dump writing code, plus a bitmap of the page file on the boot drive, then checksums the lot. At blue screen time, the checksum is verified and if good, the crash dump is written directly to the sectors known to be used by the page file on the boot drive.
Then download notmyfault from here: http://technet.microsoft.com/en-us/sysinternals/bb963901.aspx
Use notmyfault to crash your system and verify that crash dumps can be saved.
Daniel's video nicely complements a talk I've delivered on crash and hang analysis at various conferences. You can check out the on-demand web cast from TechEd a couple years ago here:
TechEd On-Demand Webcast: Windows Hang and Crash Dump Analysis
If you find it's your display driver causing the problem and it's not something the vendor has seen before, it's possible you'll need to provide them with a kernel memory dump. In that case you'll need to increase the size of the paging file on your boot partition and switch your options to kernel memory dump.
If you like debugging, check out http://blogs.msdn.com/ntdebugging/.
Remove this comment
Remove this thread
close