i too was interseted in knowing what swap files contain and how it
works for quiet some time now
so this thread provided me an oppurtutnity to look at it really
it looks like its pretty easy to recover the memory dump (atleast a
complete memory dump i havent checked out a minidump yet)
ill post what i did below and may be if there are questions i will be
happy to answer
and or take the flames if it is the case
my vm is vpc 2004
image on vpc == w2k sp4
formatted with fat (may be ntfs would be different)
opened vpc 2004 w2k sp4
vpc is running at 48 mb allocated ram
changed the virtual memory in
mycomputers-> properties-> advanced -> startup and recovery
to 96 mb start / 96 mb max
disabled the automatically reboot option
in startup and recovery
changed the minidump to complete memory dump
downloaded the osronline bang in host and drag dropped it to w2k
downloaded winhex trial version ( i wanted the dos winhex replica
but they are not offering a trial for it) and drag dropped it
to vpc
downloaded a bootfloppy image (virtual floppy drive image)
drag dropped windbg 6.7.5 and installed it
in vpc -> capture floppy disk image
ran bang and crashed the w2k it wrote the dmp in bsod
action reset
boot via floppy now
c:
attrib -s -h -r pagefile.sys
copy pagefile.sys “*desktop*”
remove boot floppy image
ctrl+alt+del (right alt +del)
now windows will boot and then it will do its duty
and save a memory.dmp in c:\winnt
copied it to “*desktop*”
drag dropped windbg 6.7.5 and installed it in vpc
opened crash dump the one windows saved after booting
c:\winnt\memory.dmp(sorry no symbols yet)
?: kd> !analyze -v
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
Unable to get program counter
GetContextState failed, 0xD0000147
Unable to get current machine context, NTSTATUS 0xC0000147
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
MANUALLY_INITIATED_CRASH1 (deaddead)
The user manually initiated this crash dump.
Arguments:
Arg1: 00000000
Arg2: 00000000
Arg3: 00000000
Arg4: 00000000
Debugging Details:
***** Kernel symbols are WRONG. Please fix symbols to do analysis.
MODULE_NAME: nt
FAULTING_MODULE: 80400000 nt
DEBUG_FLR_IMAGE_TIMESTAMP: 384d9b17
BUGCHECK_STR: MANUALLY_INITIATED_CRASH
DEFAULT_BUCKET_ID: WRONG_SYMBOLS
STACK_TEXT:
GetContextState failed, 0xD0000147
Unable to get current machine context, NTSTATUS 0xC0000147
STACK_COMMAND: .bugcheck ; kb
FOLLOWUP_NAME: MachineOwner
looks like the pagefile.sys contains everything in start
see the fcompare it simply didnt find any differnces till file size mattered
On 6/20/07, Maxim S. Shatskih wrote:
> >Getting PAGEFILE.SYS is easy. I want to know the difficult part: how to
> >extract MEMORY.DMP from PAGEFILE.SYS?
>
> I do not think this is complex.
>
> Reason: this works very quickly on usual Windows boot, surely this does not
> involve the data copy from the page file. Maybe truncating the pagefile is
> enough.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>