Problem with kvbase for ARM

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

 



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

 

SONY make.believe

 

--
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