<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3706604718754368780</id><updated>2012-02-16T03:35:00.591-05:00</updated><category term='0xC000009A'/><category term='crash'/><category term='hibernate'/><category term='blue screen of death'/><category term='debugport'/><category term='debugging'/><category term='bsod'/><category term='windows setup'/><category term='DDK'/><category term='uncached extension'/><category term='crashdump'/><category term='uncached'/><category term='storage'/><category term='miniport'/><category term='SRB'/><category term='windbg'/><category term='device extension'/><category term='drivers'/><category term='crash dump'/><category term='windows'/><category term='text-mode'/><category term='bug check'/><category term='hibernation'/><category term='blue screen'/><category term='STATUS_INSUFFICIENT_RESOURCES'/><title type='text'>Windows Driver Development</title><subtitle type='html'>This is just a brain dump of various pieces of information I've needed and found over the years. If it helps you along the way, all the better...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://driverdev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://driverdev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Matt</name><uri>http://www.blogger.com/profile/03355939701640162302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3706604718754368780.post-1857266580228003848</id><published>2006-09-26T13:24:00.000-04:00</published><updated>2006-09-26T13:59:26.827-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='uncached extension'/><category scheme='http://www.blogger.com/atom/ns#' term='STATUS_INSUFFICIENT_RESOURCES'/><category scheme='http://www.blogger.com/atom/ns#' term='crashdump'/><category scheme='http://www.blogger.com/atom/ns#' term='storage'/><category scheme='http://www.blogger.com/atom/ns#' term='miniport'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernation'/><category scheme='http://www.blogger.com/atom/ns#' term='crash dump'/><category scheme='http://www.blogger.com/atom/ns#' term='0xC000009A'/><category scheme='http://www.blogger.com/atom/ns#' term='uncached'/><category scheme='http://www.blogger.com/atom/ns#' term='SRB'/><title type='text'>Hibernating when you have a large uncached extension</title><content type='html'>One of the main issues I've faced while developing a software RAID miniport device driver was allocating enough memory during normal runtime (for handling RAID 5 operations) and still being called for hibernation by Windows. If you ever try this out, you'll quickly discover that allocating an uncached extension larger than 900KB will prevent diskdump.sys from even calling your miniport's DriverEntry.&lt;br /&gt;&lt;br /&gt;The whole algorithm is completely unknown as to how diskdump decides if it can start the miniport driver or not, in fact even the Microsoft storage devs are at a loss to explain the criteria diskdump has to crank up a miniport for hibernation or crashdump. After many, many hours of experimentation, I have found a way to satisfy diskdump's "criteria" to start up a miniport driver for hibernation or crashdump.&lt;br /&gt;&lt;br /&gt;In my situation, my miniport driver was allocating 42MB of uncached memory during normal runtime. This of course prevented diskdump from even calling my DriverEntry routine for hibernation; not a good thing if you intend to get WHQL certification.&lt;br /&gt;&lt;br /&gt;So here's the trick to hibernate while allocating a huge uncached extension:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Get rid of your device extension.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;This seems to be the key factor for diskdump to "grant" hibernation to continue. How do you do this? Store your device extension data in your driver binary.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Simply create a global variable in your driver using the structure type of your device extension.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;When specifiying the device extension size during DriverEntry, specify the size of a pointer (&lt;span style="font-size:85%;"&gt;remember: the size of a pointer is different for 32-bit and 64-bit drivers&lt;/span&gt;).&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;"&gt;i.e. DeviceExtensionSize = sizeof(u32);&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;In your FindAdapter routine, use the pointer space that was allocated by Windows for your device extension to point to your global variable. &lt;span style="font-size:85%;"&gt;i.e. *HwDeviceExtension = (u32)global_variable;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;In all other entry points of your miniport, dereference the pointer to get access to your global variable. &lt;span style="font-size:85%;"&gt;i.e. devExt_t *devext = (devExt_t *)*HwDeviceExtension;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;Following this method of having a near-zero size device extension, you can have a very large uncached extension and will still be called for hibernation. Please note that the minimum memory requirements for the product I worked on was 1GB of RAM. I did test this implementation down to 512MB of RAM, but got mixed results.&lt;br /&gt;&lt;br /&gt;Also note that the miniport driver I worked on had a very small SRB extension size (size of a pointer), so again, this may be a factor to look at when designing your miniport for this type of scenario.&lt;br /&gt;&lt;br /&gt;During this implementation, a bug in the Windows Memory Manager was discovered that prevented this implementation for working properly on certain system configurations. Basically what happens is that after each hibernation, there is a memory leak (true for any miniport). This can build up over many subsequent hibernations (without shutting down in-between), but has not been seen yet in the field because most miniport drivers allocate a very small amount of memory (i.e. 64KB). Because the average size of a miniports uncached extension is extremely small, the corresponding memory leak is very small and does not affect hibernating thousands of times in a row.&lt;br /&gt;&lt;br /&gt;In my case, because my uncached extension was 42MB, the memory leak became very noticeable after several hibernations, eventually preventing subsequent hibernations (maybe around 5-10 in a row before hitting the failure). I received a 0xC000009A error (&lt;/span&gt;&lt;span style=""&gt;STATUS_INSUFFICIENT_RESOURCES&lt;/span&gt;&lt;span style="font-size:100%;"&gt;) that hibernation could not be performed; this happened because diskdump.sys couldn't allocate enough resources for itself to get up a running.&lt;br /&gt;&lt;br /&gt;This bug in Windows has been fixed by Microsoft and a &lt;a href="http://support.microsoft.com/kb/909095/"&gt;hotfix&lt;/a&gt; is available for download. However, please note that if you follow this implementation, you will then have to require your customers to install this hotfix for hibernation to work. Again, this is a Microsoft bug that is only exagerrated because of the large mount of memory allocated for your uncached extension.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3706604718754368780-1857266580228003848?l=driverdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://driverdev.blogspot.com/feeds/1857266580228003848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3706604718754368780&amp;postID=1857266580228003848' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/1857266580228003848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/1857266580228003848'/><link rel='alternate' type='text/html' href='http://driverdev.blogspot.com/2006/09/hibernating-when-you-have-large.html' title='Hibernating when you have a large uncached extension'/><author><name>Matt</name><uri>http://www.blogger.com/profile/03355939701640162302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3706604718754368780.post-5933764229385952679</id><published>2006-09-26T13:11:00.000-04:00</published><updated>2006-09-26T13:23:09.505-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='uncached extension'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='DDK'/><category scheme='http://www.blogger.com/atom/ns#' term='device extension'/><category scheme='http://www.blogger.com/atom/ns#' term='crashdump'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='miniport'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernation'/><category scheme='http://www.blogger.com/atom/ns#' term='crash dump'/><category scheme='http://www.blogger.com/atom/ns#' term='uncached'/><title type='text'>Hibernation / Crashdump details</title><content type='html'>Having spent numerous hours of trial-and-error discovery of the limits of hibernation and crashdump resources, I thought I'd post them here to save myself time later (and help anyone else searching for these answers). Note that this information was verified on Windows 2000 SP4, Windows XP SP2, and Windows 2003 SP1 &amp;amp; R2 using a ScsiPort miniport driver.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;MaximumTransferLength: The maximum I/O size you'll get from ScsiPort during hibernation and crashdump is 4KB (PAGE_SIZE). This will change in Windows Vista to 64KB.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The maximum device extension size that can be allocated during hibernation and crashdump is 16KB.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The maximum uncached extension size that can be allocated during hibernation and crashdump is 63KB (despite the DDK documentation claiming the max is 32KB).&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The maximum device extension size that can be allocated during normal runtime, while allowing Windows to call your miniport to hibernate or crashdump, is 900KB.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The maximum uncached extension size that can be allocated during normal runtime, while allowing Windows to call your miniport to hibernate or crashdump, is 900KB.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3706604718754368780-5933764229385952679?l=driverdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://driverdev.blogspot.com/feeds/5933764229385952679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3706604718754368780&amp;postID=5933764229385952679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/5933764229385952679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/5933764229385952679'/><link rel='alternate' type='text/html' href='http://driverdev.blogspot.com/2006/09/hibernation-crashdump-details.html' title='Hibernation / Crashdump details'/><author><name>Matt</name><uri>http://www.blogger.com/profile/03355939701640162302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3706604718754368780.post-4491459905764493315</id><published>2006-09-26T13:04:00.000-04:00</published><updated>2006-09-26T13:08:20.869-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows setup'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='debugging'/><category scheme='http://www.blogger.com/atom/ns#' term='windbg'/><category scheme='http://www.blogger.com/atom/ns#' term='text-mode'/><category scheme='http://www.blogger.com/atom/ns#' term='drivers'/><category scheme='http://www.blogger.com/atom/ns#' term='debugport'/><title type='text'>Text Mode Debugging</title><content type='html'>&lt;p&gt;&lt;span style="font-size:100%;"&gt;With Windows Server 2003 you can enable text-mode debugging during setup by pressing the F8 key. This means that you do not have to edit the Txtsetup.sif file to enable text-mode debugging.&lt;/span&gt; &lt;/p&gt; &lt;a name="Enable_text-mode_debugging_during_setup"&gt;&lt;/a&gt;&lt;h2&gt;&lt;span style="font-size:130%;"&gt; Enable text-mode debugging during setup&lt;/span&gt; &lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;To enable text-mode debugging during setup, press F8 when the Setup program is loading, and then press F8 again when you are prompted to press the F6 function key to install third-party small computer system interface (SCSI) and host controller drivers.&lt;/span&gt; &lt;/p&gt; &lt;a name="Debug_sections_that_are_added_to_setup"&gt;&lt;/a&gt;&lt;h2&gt;&lt;span style="font-size:130%;"&gt; Debug sections that are added to setup&lt;/span&gt; &lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;When you press F8 to enable text-mode debugging during Setup, the following default debug options are added to Setup: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;/debug /debugport=com2 /baudrate=19200 &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;The computer will send debugging output to COM2 during the text mode portion of setup. If your system has only COM1, you must modify the Txtsetup.sif file for the computer to send debugging output to COM1. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;To use debugging, you must have symbols. You must also have a debugger computer that has a debug cable attached. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Note:&lt;/b&gt; To use text-mode debugging, the COM2 communications (COM) port must be available on your computer. If COM2 is not available on your computer, and you have to enable text-mode debugging during setup, copy the setup files to your hard disk, edit the Txtsetup.sif file to address COM1, and then run the Setup program from the hard disk. Make the following modifications to the Txtsetup.sif file:&lt;/span&gt; &lt;/p&gt; &lt;hr /&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;[SetupData] &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;OsLoadOptions = "/noguiboot /fastdetect /debug /baudrate=57600 /debugport=com1" &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;OsLoadOptionsVar = "/fastdetect /debug /baudrate=57600 /debugport=com1"&lt;/span&gt; &lt;/p&gt; &lt;hr /&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Note:&lt;/b&gt; If your computer only has COM1, you must modify the Txtsetup.sif file to connect the debugger to COM1.&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3706604718754368780-4491459905764493315?l=driverdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://driverdev.blogspot.com/feeds/4491459905764493315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3706604718754368780&amp;postID=4491459905764493315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/4491459905764493315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/4491459905764493315'/><link rel='alternate' type='text/html' href='http://driverdev.blogspot.com/2006/09/text-mode-debugging.html' title='Text Mode Debugging'/><author><name>Matt</name><uri>http://www.blogger.com/profile/03355939701640162302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3706604718754368780.post-7583367980706688960</id><published>2006-09-26T12:20:00.000-04:00</published><updated>2006-09-26T12:22:29.147-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bug check'/><category scheme='http://www.blogger.com/atom/ns#' term='blue screen of death'/><category scheme='http://www.blogger.com/atom/ns#' term='blue screen'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='crash'/><category scheme='http://www.blogger.com/atom/ns#' term='bsod'/><title type='text'>Bugcheck Codes (BSOD)</title><content type='html'>&lt;p&gt;Bug Check 0x1: APC_INDEX_MISMATCH &lt;/p&gt;&lt;p&gt;Bug Check 0x2: DEVICE_QUEUE_NOT_BUSY &lt;/p&gt;&lt;p&gt;Bug Check 0x3: INVALID_AFFINITY_SET &lt;/p&gt;&lt;p&gt;Bug Check 0x4: INVALID_DATA_ACCESS_TRAP &lt;/p&gt;&lt;p&gt;Bug Check 0x5: INVALID_PROCESS_ATTACH_ATTEMPT &lt;/p&gt;&lt;p&gt;Bug Check 0x6: INVALID_PROCESS_DETACH_ATTEMPT &lt;/p&gt;&lt;p&gt;Bug Check 0x7: INVALID_SOFTWARE_INTERRUPT &lt;/p&gt;&lt;p&gt;Bug Check 0x8: IRQL_NOT_DISPATCH_LEVEL &lt;/p&gt;&lt;p&gt;Bug Check 0x9: IRQL_NOT_GREATER_OR_EQUAL &lt;/p&gt;&lt;p&gt;Bug Check 0xA: IRQL_NOT_LESS_OR_EQUAL &lt;/p&gt;&lt;p&gt;Bug Check 0xB: NO_EXCEPTION_HANDLING_SUPPORT &lt;/p&gt;&lt;p&gt;Bug Check 0xC: MAXIMUM_WAIT_OBJECTS_EXCEEDED &lt;/p&gt;&lt;p&gt;Bug Check 0xD: MUTEX_LEVEL_NUMBER_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xE: NO_USER_MODE_CONTEXT &lt;/p&gt;&lt;p&gt;Bug Check 0xF: SPIN_LOCK_ALREADY_OWNED &lt;/p&gt;&lt;p&gt;Bug Check 0x10: SPIN_LOCK_NOT_OWNED &lt;/p&gt;&lt;p&gt;Bug Check 0x11: THREAD_NOT_MUTEX_OWNER &lt;/p&gt;&lt;p&gt;Bug Check 0x12: TRAP_CAUSE_UNKNOWN &lt;/p&gt;&lt;p&gt;Bug Check 0x13: EMPTY_THREAD_REAPER_LIST &lt;/p&gt;&lt;p&gt;Bug Check 0x14: CREATE_DELETE_LOCK_NOT_LOCKED &lt;/p&gt;&lt;p&gt;Bug Check 0x15: LAST_CHANCE_CALLED_FROM_KMODE &lt;/p&gt;&lt;p&gt;Bug Check 0x16: CID_HANDLE_CREATION &lt;/p&gt;&lt;p&gt;Bug Check 0x17: CID_HANDLE_DELETION &lt;/p&gt;&lt;p&gt;Bug Check 0x18: REFERENCE_BY_POINTER &lt;/p&gt;&lt;p&gt;Bug Check 0x19: BAD_POOL_HEADER &lt;/p&gt;&lt;p&gt;Bug Check 0x1A: MEMORY_MANAGEMENT &lt;/p&gt;&lt;p&gt;Bug Check 0x1B: PFN_SHARE_COUNT &lt;/p&gt;&lt;p&gt;Bug Check 0x1C: PFN_REFERENCE_COUNT &lt;/p&gt;&lt;p&gt;Bug Check 0x1D: NO_SPIN_LOCK_AVAILABLE &lt;/p&gt;&lt;p&gt;Bug Check 0x1E: KMODE_EXCEPTION_NOT_HANDLED &lt;/p&gt;&lt;p&gt;Bug Check 0x1F: SHARED_RESOURCE_CONV_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x20: KERNEL_APC_PENDING_DURING_EXIT &lt;/p&gt;&lt;p&gt;Bug Check 0x21: QUOTA_UNDERFLOW &lt;/p&gt;&lt;p&gt;Bug Check 0x22: FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x23: FAT_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x24: NTFS_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x25: NPFS_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x26: CDFS_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x27: RDR_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x28: CORRUPT_ACCESS_TOKEN &lt;/p&gt;&lt;p&gt;Bug Check 0x29: SECURITY_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x2A: INCONSISTENT_IRP &lt;/p&gt;&lt;p&gt;Bug Check 0x2B: PANIC_STACK_SWITCH &lt;/p&gt;&lt;p&gt;Bug Check 0x2C: PORT_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0x2D: SCSI_DISK_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0x2E: DATA_BUS_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x2F: INSTRUCTION_BUS_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x30: SET_OF_INVALID_CONTEXT &lt;/p&gt;&lt;p&gt;Bug Check 0x31: PHASE0_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x32: PHASE1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x33: UNEXPECTED_INITIALIZATION_CALL &lt;/p&gt;&lt;p&gt;Bug Check 0x34: CACHE_MANAGER &lt;/p&gt;&lt;p&gt;Bug Check 0x35: NO_MORE_IRP_STACK_LOCATIONS &lt;/p&gt;&lt;p&gt;Bug Check 0x36: DEVICE_REFERENCE_COUNT_NOT_ZERO &lt;/p&gt;&lt;p&gt;Bug Check 0x37: FLOPPY_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x38: SERIAL_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0x39: SYSTEM_EXIT_OWNED_MUTEX &lt;/p&gt;&lt;p&gt;Bug Check 0x3A: SYSTEM_UNWIND_PREVIOUS_USER &lt;/p&gt;&lt;p&gt;Bug Check 0x3B: SYSTEM_SERVICE_EXCEPTION &lt;/p&gt;&lt;p&gt;Bug Check 0x3C: INTERRUPT_UNWIND_ATTEMPTED &lt;/p&gt;&lt;p&gt;Bug Check 0x3D: INTERRUPT_EXCEPTION_NOT_HANDLED &lt;/p&gt;&lt;p&gt;Bug Check 0x3E: MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED &lt;/p&gt;&lt;p&gt;Bug Check 0x3F: NO_MORE_SYSTEM_PTES &lt;/p&gt;&lt;p&gt;Bug Check 0x40: TARGET_MDL_TOO_SMALL &lt;/p&gt;&lt;p&gt;Bug Check 0x41: MUST_SUCCEED_POOL_EMPTY &lt;/p&gt;&lt;p&gt;Bug Check 0x42: ATDISK_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0x43: NO_SUCH_PARTITION &lt;/p&gt;&lt;p&gt;Bug Check 0x44: MULTIPLE_IRP_COMPLETE_REQUESTS &lt;/p&gt;&lt;p&gt;Bug Check 0x45: INSUFFICIENT_SYSTEM_MAP_REGS &lt;/p&gt;&lt;p&gt;Bug Check 0x46: DEREF_UNKNOWN_LOGON_SESSION &lt;/p&gt;&lt;p&gt;Bug Check 0x47: REF_UNKNOWN_LOGON_SESSION &lt;/p&gt;&lt;p&gt;Bug Check 0x48: CANCEL_STATE_IN_COMPLETED_IRP &lt;/p&gt;&lt;p&gt;Bug Check 0x49: PAGE_FAULT_WITH_INTERRUPTS_OFF &lt;/p&gt;&lt;p&gt;Bug Check 0x4A: IRQL_GT_ZERO_AT_SYSTEM_SERVICE &lt;/p&gt;&lt;p&gt;Bug Check 0x4B: STREAMS_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x4C: FATAL_UNHANDLED_HARD_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x4D: NO_PAGES_AVAILABLE &lt;/p&gt;&lt;p&gt;Bug Check 0x4E: PFN_LIST_CORRUPT &lt;/p&gt;&lt;p&gt;Bug Check 0x4F: NDIS_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x50: PAGE_FAULT_IN_NONPAGED_AREA &lt;/p&gt;&lt;p&gt;Bug Check 0x51: REGISTRY_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x52: MAILSLOT_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x53: NO_BOOT_DEVICE &lt;/p&gt;&lt;p&gt;Bug Check 0x54: LM_SERVER_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x55: DATA_COHERENCY_EXCEPTION &lt;/p&gt;&lt;p&gt;Bug Check 0x56: INSTRUCTION_COHERENCY_EXCEPTION &lt;/p&gt;&lt;p&gt;Bug Check 0x57: XNS_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x58: FTDISK_INTERNAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x59: PINBALL_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x5A: CRITICAL_SERVICE_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x5B: SET_ENV_VAR_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x5C: HAL_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x5D: UNSUPPORTED_PROCESSOR &lt;/p&gt;&lt;p&gt;Bug Check 0x5E: OBJECT_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x5F: SECURITY_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x60: PROCESS_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x61: HAL1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x62: OBJECT1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x63: SECURITY1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x64: SYMBOLIC_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x65: MEMORY1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x66: CACHE_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x67: CONFIG_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x68: FILE_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x69: IO1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6A: LPC_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6B: PROCESS1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6C: REFMON_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6D: SESSION1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6E: SESSION2_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x6F: SESSION3_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x70: SESSION4_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x71: SESSION5_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x72: ASSIGN_DRIVE_LETTERS_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x73: CONFIG_LIST_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x74: BAD_SYSTEM_CONFIG_INFO &lt;/p&gt;&lt;p&gt;Bug Check 0x75: CANNOT_WRITE_CONFIGURATION &lt;/p&gt;&lt;p&gt;Bug Check 0x76: PROCESS_HAS_LOCKED_PAGES &lt;/p&gt;&lt;p&gt;Bug Check 0x77: KERNEL_STACK_INPAGE_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x78: PHASE0_EXCEPTION &lt;/p&gt;&lt;p&gt;Bug Check 0x79: MISMATCHED_HAL &lt;/p&gt;&lt;p&gt;Bug Check 0x7A: KERNEL_DATA_INPAGE_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0x7B: INACCESSIBLE_BOOT_DEVICE &lt;/p&gt;&lt;p&gt;Bug Check 0x7C: BUGCODE_NDIS_DRIVER &lt;/p&gt;&lt;p&gt;Bug Check 0x7D: INSTALL_MORE_MEMORY &lt;/p&gt;&lt;p&gt;Bug Check 0x7E: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED &lt;/p&gt;&lt;p&gt;Bug Check 0x7F: UNEXPECTED_KERNEL_MODE_TRAP &lt;/p&gt;&lt;p&gt;Bug Check 0x80: NMI_HARDWARE_FAILURE &lt;/p&gt;&lt;p&gt;Bug Check 0x81: SPIN_LOCK_INIT_FAILURE &lt;/p&gt;&lt;p&gt;Bug Check 0x82: DFS_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x85: SETUP_FAILURE &lt;/p&gt;&lt;p&gt;Bug Check 0x8B: MBR_CHECKSUM_MISMATCH &lt;/p&gt;&lt;p&gt;Bug Check 0x8E: KERNEL_MODE_EXCEPTION_NOT_HANDLED &lt;/p&gt;&lt;p&gt;Bug Check 0x8F: PP0_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x90: PP1_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0x92: UP_DRIVER_ON_MP_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x93: INVALID_KERNEL_HANDLE &lt;/p&gt;&lt;p&gt;Bug Check 0x94: KERNEL_STACK_LOCKED_AT_EXIT &lt;/p&gt;&lt;p&gt;Bug Check 0x96: INVALID_WORK_QUEUE_ITEM &lt;/p&gt;&lt;p&gt;Bug Check 0x97: BOUND_IMAGE_UNSUPPORTED &lt;/p&gt;&lt;p&gt;Bug Check 0x98: END_OF_NT_EVALUATION_PERIOD &lt;/p&gt;&lt;p&gt;Bug Check 0x99: INVALID_REGION_OR_SEGMENT &lt;/p&gt;&lt;p&gt;Bug Check 0x9A: SYSTEM_LICENSE_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0x9B: UDFS_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0x9C: MACHINE_CHECK_EXCEPTION &lt;/p&gt;&lt;p&gt;Bug Check 0x9F: DRIVER_POWER_STATE_FAILURE &lt;/p&gt;&lt;p&gt;Bug Check 0xA0: INTERNAL_POWER_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0xA1: PCI_BUS_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0xA2: MEMORY_IMAGE_CORRUPT &lt;/p&gt;&lt;p&gt;Bug Check 0xA3: ACPI_DRIVER_INTERNAL &lt;/p&gt;&lt;p&gt;Bug Check 0xA4: CNSS_FILE_SYSTEM_FILTER &lt;/p&gt;&lt;p&gt;Bug Check 0xA5: ACPI_BIOS_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0xA7: BAD_EXHANDLE &lt;/p&gt;&lt;p&gt;Bug Check 0xAB: SESSION_HAS_VALID_POOL_ON_EXIT &lt;/p&gt;&lt;p&gt;Bug Check 0xAC: HAL_MEMORY_ALLOCATION &lt;/p&gt;&lt;p&gt;Bug Check 0xB4: VIDEO_DRIVER_INIT_FAILURE &lt;/p&gt;&lt;p&gt;Bug Check 0xB8: ATTEMPTED_SWITCH_FROM_DPC &lt;/p&gt;&lt;p&gt;Bug Check 0xB9: CHIPSET_DETECTED_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0xBA: SESSION_HAS_VALID_VIEWS_ON_EXIT &lt;/p&gt;&lt;p&gt;Bug Check 0xBB: NETWORK_BOOT_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0xBC: NETWORK_BOOT_DUPLICATE_ADDRESS &lt;/p&gt;&lt;p&gt;Bug Check 0xBE: ATTEMPTED_WRITE_TO_READONLY_MEMORY &lt;/p&gt;&lt;p&gt;Bug Check 0xBF: MUTEX_ALREADY_OWNED &lt;/p&gt;&lt;p&gt;Bug Check 0xC1: SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION &lt;/p&gt;&lt;p&gt;Bug Check 0xC2: BAD_POOL_CALLER &lt;/p&gt;&lt;p&gt;Bug Check 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xC5: DRIVER_CORRUPTED_EXPOOL &lt;/p&gt;&lt;p&gt;Bug Check 0xC6: DRIVER_CAUGHT_MODIFYING_FREED_POOL &lt;/p&gt;&lt;p&gt;Bug Check 0xC7: TIMER_OR_DPC_INVALID &lt;/p&gt;&lt;p&gt;Bug Check 0xC8: IRQL_UNEXPECTED_VALUE &lt;/p&gt;&lt;p&gt;Bug Check 0xC9: DRIVER_VERIFIER_IOMANAGER_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xCA: PNP_DETECTED_FATAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0xCB: DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS &lt;/p&gt;&lt;p&gt;Bug Check 0xCC: PAGE_FAULT_IN_FREED_SPECIAL_POOL &lt;/p&gt;&lt;p&gt;Bug Check 0xCD: PAGE_FAULT_BEYOND_END_OF_ALLOCATION &lt;/p&gt;&lt;p&gt;Bug Check 0xCE: DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS &lt;/p&gt;&lt;p&gt;Bug Check 0xCF: TERMINAL_SERVER_DRIVER_MADE_INCORRECT_MEMORY_REFERENCE &lt;/p&gt;&lt;p&gt;Bug Check 0xD0: DRIVER_CORRUPTED_MMPOOL &lt;/p&gt;&lt;p&gt;Bug Check 0xD1: DRIVER_IRQL_NOT_LESS_OR_EQUAL &lt;/p&gt;&lt;p&gt;Bug Check 0xD2: BUGCODE_ID_DRIVER &lt;/p&gt;&lt;p&gt;Bug Check 0xD3: DRIVER_PORTION_MUST_BE_NONPAGED &lt;/p&gt;&lt;p&gt;Bug Check 0xD4: SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD &lt;/p&gt;&lt;p&gt;Bug Check 0xD5: DRIVER_PAGE_FAULT_IN_FREED_SPECIAL_POOL &lt;/p&gt;&lt;p&gt;Bug Check 0xD6: DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION &lt;/p&gt;&lt;p&gt;Bug Check 0xD7: DRIVER_UNMAPPING_INVALID_VIEW &lt;/p&gt;&lt;p&gt;Bug Check 0xD8: DRIVER_USED_EXCESSIVE_PTES &lt;/p&gt;&lt;p&gt;Bug Check 0xD9: LOCKED_PAGES_TRACKER_CORRUPTION &lt;/p&gt;&lt;p&gt;Bug Check 0xDA: SYSTEM_PTE_MISUSE &lt;/p&gt;&lt;p&gt;Bug Check 0xDB: DRIVER_CORRUPTED_SYSPTES &lt;/p&gt;&lt;p&gt;Bug Check 0xDC: DRIVER_INVALID_STACK_ACCESS &lt;/p&gt;&lt;p&gt;Bug Check 0xDE: POOL_CORRUPTION_IN_FILE_AREA &lt;/p&gt;&lt;p&gt;Bug Check 0xDF: IMPERSONATING_WORKER_THREAD &lt;/p&gt;&lt;p&gt;Bug Check 0xE0: ACPI_BIOS_FATAL_ERROR &lt;/p&gt;&lt;p&gt;Bug Check 0xE1: WORKER_THREAD_RETURNED_AT_BAD_IRQL &lt;/p&gt;&lt;p&gt;Bug Check 0xE2: MANUALLY_INITIATED_CRASH &lt;/p&gt;&lt;p&gt;Bug Check 0xE3: RESOURCE_NOT_OWNED &lt;/p&gt;&lt;p&gt;Bug Check 0xE4: WORKER_INVALID &lt;/p&gt;&lt;p&gt;Bug Check 0xE6: DRIVER_VERIFIER_DMA_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xE7: INVALID_FLOATING_POINT_STATE &lt;/p&gt;&lt;p&gt;Bug Check 0xE8: INVALID_CANCEL_OF_FILE_OPEN &lt;/p&gt;&lt;p&gt;Bug Check 0xE9: ACTIVE_EX_WORKER_THREAD_TERMINATION &lt;/p&gt;&lt;p&gt;Bug Check 0xEA: THREAD_STUCK_IN_DEVICE_DRIVER &lt;/p&gt;&lt;p&gt;Bug Check 0xEB: DIRTY_MAPPED_PAGES_CONGESTION &lt;/p&gt;&lt;p&gt;Bug Check 0xEC: SESSION_HAS_VALID_SPECIAL_POOL_ON_EXIT &lt;/p&gt;&lt;p&gt;Bug Check 0xED: UNMOUNTABLE_BOOT_VOLUME &lt;/p&gt;&lt;p&gt;Bug Check 0xEF: CRITICAL_PROCESS_DIED &lt;/p&gt;&lt;p&gt;Bug Check 0xF1: SCSI_VERIFIER_DETECTED_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xF3: DISORDERLY_SHUTDOWN &lt;/p&gt;&lt;p&gt;Bug Check 0xF4: CRITICAL_OBJECT_TERMINATION &lt;/p&gt;&lt;p&gt;Bug Check 0xF5: FLTMGR_FILE_SYSTEM &lt;/p&gt;&lt;p&gt;Bug Check 0xF6: PCI_VERIFIER_DETECTED_VIOLATION &lt;/p&gt;&lt;p&gt;Bug Check 0xF7: DRIVER_OVERRAN_STACK_BUFFER &lt;/p&gt;&lt;p&gt;Bug Check 0xF8: RAMDISK_BOOT_INITIALIZATION_FAILED &lt;/p&gt;&lt;p&gt;Bug Check 0xF9: DRIVER_RETURNED_STATUS_REPARSE_FOR_VOLUME_OPEN &lt;/p&gt;&lt;p&gt;Bug Check 0xFE: BUGCODE_USB_DRIVER &lt;/p&gt;&lt;p&gt;Bug Check 0x1000007E: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M &lt;/p&gt;&lt;p&gt;Bug Check 0x1000007F: UNEXPECTED_KERNEL_MODE_TRAP_M &lt;/p&gt;&lt;p&gt;Bug Check 0x1000008E: KERNEL_MODE_EXCEPTION_NOT_HANDLED_M &lt;/p&gt;&lt;p&gt;Bug Check 0x100000EA: THREAD_STUCK_IN_DEVICE_DRIVER_M &lt;/p&gt;&lt;p&gt;Bug Check 0xC0000218: STATUS_CANNOT_LOAD_REGISTRY_FILE &lt;/p&gt;&lt;p&gt;Bug Check 0xC000021A: STATUS_SYSTEM_PROCESS_TERMINATED &lt;/p&gt;&lt;p&gt;Bug Check 0xC0000221: STATUS_IMAGE_CHECKSUM_MISMATCH &lt;/p&gt;&lt;p&gt;Bug Check 0xDEADDEAD: MANUALLY_INITIATED_CRASH1 &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3706604718754368780-7583367980706688960?l=driverdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://driverdev.blogspot.com/feeds/7583367980706688960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3706604718754368780&amp;postID=7583367980706688960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/7583367980706688960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706604718754368780/posts/default/7583367980706688960'/><link rel='alternate' type='text/html' href='http://driverdev.blogspot.com/2006/09/bugcheck-codes-bsod.html' title='Bugcheck Codes (BSOD)'/><author><name>Matt</name><uri>http://www.blogger.com/profile/03355939701640162302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
