[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Crash-utility] snap crash plugin on RHEL 4



Dave Anderson wrote:
----- "Dave Anderson" <anderson 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]