[Crash-utility] snap crash plugin on RHEL 4

Adrien Kunysz adk at redhat.com
Thu Sep 3 15:44:05 UTC 2009


Dave Anderson wrote:
> ----- "Dave Anderson" <anderson at redhat.com> wrote:
> 
>> So this does appear (unless anybody can show me evidence otherwise)
>> to be a RHEL4 (2.6.9-ish) issue only?
>>
>> Dave
>>
> 
> So anyway -- back to Adrien -- for now, apply this patch, and hopefully
> things should work OK:
>  
> --- extensions/snap.c.orig
> +++ extensions/snap.c
> @@ -120,8 +120,8 @@ cmd_snap(void)
>                 nt = &vt->node_table[n];
>                 paddr = nt->start_paddr;
>                 for (c = 0; c < nt->size; c++, paddr += PAGESIZE()) {
> -                       if (!verify_paddr(paddr))
> -                               continue;
> +//                     if (!verify_paddr(paddr))
> +//                             continue;
>                         if (!readmem(paddr, PHYSADDR, &buf[0], PAGESIZE(), 
>                             "memory page", QUIET|RETURN_ON_ERROR))
>                                 continue;

I confirm the above patch allows me to dump a full vmcore that I can then load 
in crash. Thank you very much.




More information about the Crash-utility mailing list