Re: snap crash plugin on RHEL 4

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

 



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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux