[Crash-utility] Problem with kvbase for ARM
Karlsson, Jan
Jan.Karlsson at sonymobile.com
Tue Aug 27 10:40:45 UTC 2013
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:image001.jpg at 01CEA321.BCB2DD50]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20130827/57236cd2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2843 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20130827/57236cd2/attachment.jpg>
More information about the Crash-utility
mailing list