Hi Dave

I have problems with the line (in arm.c)
    machdep->kvbase = symbol_value("_stext") & 0xffff0000UL;

In the latest kernels this does not give the correct value. If I change it to 
the x86 implementation:
   machdep->kvbase = symbol_value("_stext") & ~KVBASE_MASK;
where KVBASE_MASK is defined in defs.h
    #define KVBASE_MASK        (0x1ffffff)
Then things work as they should, both on the newer and the older kernels. 
Without this patch crash complains that vmcore and vmlinux does not match and 
stops.

Jan

Jan Karlsson
Senior Software Engineer
MIB

Sony Mobile Communications
Tel: +46703062174
sonymobile.com<http://sonymobile.com/>

[cid:[email protected]]

<<inline: image001.jpg>>

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to