----- Original Message -----
 Earlier _stext has been in the 0xc0008xxx range, but now I see:
 
 c0004000 (A) swapper_pg_dir
 c0008000 (t) .head.text
 c0008000 (T) _text
 c0008000 (T) stext
 c000804c (t) __create_page_tables
 c0008100 (t) __turn_mmu_on_loc
 c000810c (t) __vet_atags
 c0100000 (t) .text
 c0100000 (T) __exception_text_start
 c0100000 (T) _stext
 c0100000 (T) asm_do_IRQ
 c0100004 (T) do_undefinstr
 c010022c (T) do_IPI
 c0100230 (T) do_DataAbort
 c01003d8 (T) do_PrefetchAbort
 c0100470 (T) gic_handle_irq
 
 Jan 
OK thanks -- I'll mimic the x86 code for crash-7.0.2.
Dave
 
 Jan Karlsson
 Senior Software Engineer
 MIB
  
 Sony Mobile Communications
 Tel: +46703062174
 
sonymobile.com
  
 
 
 -----Original Message-----
 From: crash-utility-bounces(a)redhat.com
 [mailto:crash-utility-bounces@redhat.com] On Behalf Of Dave Anderson
 Sent: tisdag den 27 augusti 2013 15:26
 To: Discussion list for crash utility usage, maintenance and development
 Cc: Fransson, Per 2
 Subject: Re: [Crash-utility] Problem with kvbase for ARM
 
 
 
 ----- Original Message -----
 > 
 > 
 > 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.
 
 OK, that can be changed.  Where are the new symbols located?
 All the older ARM kernels I have start like this:
 
  crash> sym -l
  c0004000 (A) swapper_pg_dir
  c0008000 (t) .init
  c0008000 (T) __init_begin
  c0008000 (T) _sinittext
  c0008000 (T) _stext
  c0008000 (T) stext
  c000804c (t) __create_page_tables
  c0008104 (t) __enable_mmu_loc
  c0008110 (t) __enable_mmu
  c0008140 (t) __turn_mmu_on
  c0008158 (t) __enable_mmu_end
  c0008158 (t) __vet_atags
  ...
 
 Dave
  
 
 --
 Crash-utility mailing list
 Crash-utility(a)redhat.com
 
https://www.redhat.com/mailman/listinfo/crash-utility
 
 --
 Crash-utility mailing list
 Crash-utility(a)redhat.com
 
https://www.redhat.com/mailman/listinfo/crash-utility