That is a fairly accurate description of how I understand kernel crash
dumps to work.
It implies that not only there be enough space in the page file, but
enough disk free space for the dump file to be copied out of the page
file at reboot.
Writing a crash dump is a tricky operation, because the OS is crashed,
but enough of the system still needs to be running. Due to the strict
requirements this places on the storage stack non-HCL storage stacks
typically have issues writing crash dumps.
I suggest checking the storage hardware on the machine and verify it is
HCL. Also I suggest checking the event log for clues as to why the dump
was not written.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nate Bushman
Sent: Wednesday, September 03, 2003 8:34 AM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Sometimes I just can’t get crash dump files to
generate…
Tjena,
As I understand it, when a blue screen occurs and the system is
configured to generate a crash dump file, some or all of the data in RAM
(depending on the dump configuration) will be written (if possible) to
the page file. When the system reboots, before paging is activated the
crash data is copied out of the page file into the dump file. For this
reason you need to ensure that, for full memory dumps, the page file
size is at least as large as the amount of installed RAM. I’ve also
heard that it’s necessary to ensure that the page file resides on the
boot volume if you want to successfully generate crash dump files.
I don’t know if this flush of RAM data to the paging file involves the
drivers in the paging path. My guess is that it doesn’t, but that there
are some smarts built into the kernel to be able to write to the page
file independent of the storage stack drivers. Anyone?
So maybe failed crash dump file generation is caused when the crash
interferes with the kernel’s built-in ability to write to the page file
(independent of the storage stack) or as MaryBeth suggested, perhaps
someone has a bad BugCheckCallback in their driver.
Ha det bra!
Nate
-----Original Message-----
From: Andreas Hansson [mailto:xxxxx@briljant.se]
Sent: Wednesday, September 03, 2003 9:17 AM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Sometimes I just can’t get crash dump files to
generate…
I have had this exact same problem on my own computer. I’ve been trying
various settings - full memory dump, kernel dump, reboot automatically
or not, but I never got a dump from my blue screens.
The specs:
Windows 2000 Professional, sp3, swedish
Pentium III, 256 MB ram
500-some MB swap file on C:, which runs NTFS and is boot drive
In one instance, the blue screen was generated by a double irp
completion in a capture card driver I was developing. I have no reason
to believe that the driver would be corrupting anything to disrupt the
dump writing.
When the system blue screened, I could see hard drive activity as if the
dump was being written, but when the system got back up, there was no
dump. I don’t know exactly how the dump writing works, but it seems to
me like the dump was written down to hard drive but not copied out of
the pagefile on the next reboot?
I have since upgraded the system to 768 MB ram and sp4 and haven’t tried
to generate any crash dumps since, but if anyone has any ideas for
getting dump writing working I’d be happy to try again.
Andreas
----- Original Message -----
From: “Nate Bushman”
To: “Kernel Debugging Interest List”
Sent: Wednesday, September 03, 2003 12:29 AM
Subject: [windbg] Sometimes I just can’t get crash dump files to
generate…
Every once in a while I run across a customer who experiences a blue
screen but just can’t seem to generate a crash dump file. I have them
make sure that their page file is on their boot volume, and that their
page file size is greater than the amount of installed RAM, but still no
crash dump file is generated during the BSOD.
What am I missing here? What are some of the other requirements for
successful dump file generation?
I just heard a (likely distorted) third-hand rumor, supposedly sourced
at Microsoft, that crash dump files will never be generated for certain
bug check codes. Can this be true? If so, why, and for which codes?
Nate
—
You are currently subscribed to windbg as: xxxxx@powerquest.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com