Dave,
patch attached. thanks.
rgds,
Dyno
On 3/24/15 10:00 AM, Dyno Hongjun Fu wrote:
---------- Forwarded message ----------
From: Dave Anderson <anderson(a)redhat.com>
Date: Tue, Mar 24, 2015 at 7:17 AM
Subject: Re: [Crash-utility] patch to add vmss memory regions support
To: "Discussion list for crash utility usage, maintenance and
development" <crash-utility(a)redhat.com>
Dyno,
Can you re-post this path so that it applies cleanly to the
current git repository? This is what happens:
$ git clone
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_crash-2Du...
Cloning into 'crash'...
remote: Counting objects: 811, done.
remote: Total 811 (delta 0), reused 0 (delta 0), pack-reused 811
Receiving objects: 100% (811/811), 1.87 MiB | 1.04 MiB/s, done.
Resolving deltas: 100% (532/532), done.
$ cd crash
$ patch -p1 < ../vmware_memory_region_support.patch
patching file vmware_vmss.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 succeeded at 42 with fuzz 2 (offset 2 lines).
Hunk #2 succeeded at 141 (offset 2 lines).
Hunk #3 succeeded at 164 (offset 2 lines).
Hunk #4 succeeded at 192 (offset 2 lines).
Hunk #5 succeeded at 217 (offset 2 lines).
Hunk #6 FAILED at 256.
Hunk #7 succeeded at 276 (offset 2 lines).
1 out of 7 hunks FAILED -- saving rejects to file vmware_vmss.c.rej
patching file vmware_vmss.h
$
Thanks,
Dave
----- Original Message -----
> Dave,
>
> attached patch is to add vmss memroy regions support.
>
> There might be holes in the memory address saved for PCI etc.
> In such case memory dump is divided into regions. Currently
> up to 3 regions are supported.
>
> Memory dump larger than 3GB will have the first hole.
> My dropbox space used up, I cannot attach a 4GB memory dump.
> and here is how it looks like in the vmss meta data dump.
>
> 3GB:
> ===
> - Group: memory pos=0x1f6f6 size=0xc000090c
> ------------------------------------
> align_mask[0, 0] => 0x00ffff
> regionsCount => 0x000000
> Memory[0, 0] => BLOCK, pos=0x20000, size=0xc0000000
>
> 4GB:
> ===
> - Group: memory pos=0x1f6f6 size=0x10000090c
> -----------------------------------
> align_mask[0, 0] => 0x00ffff
> regionsCount => 0x000002
> regionPageNum[0] => 0x000000
> regionPPN[0] => 0x000000
> regionSize[0] => 0x0c0000
> regionPageNum[1] => 0x0c0000
> regionPPN[1] => 0x100000
> regionSize[1] => 0x040000
> Memory[0, 0] => BLOCK, pos=0x20000, size=0x100000000
>
> rgds,
> Dyno
>
> --
> Crash-utility mailing list
> Crash-utility(a)redhat.com
>
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com_mailm...
--
Crash-utility mailing list
Crash-utility(a)redhat.com
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com_mailm...