[Crash-utility] crash failed on vmcore created by kdump at an IA64

Jay Lan jlan at sgi.com
Thu Oct 26 17:43:24 UTC 2006


Dave Anderson wrote:
> Jay Lan wrote:
> 
>> Jay Lan wrote:
>>> Hi,
>>>
>>> I saved off a vmcore from a kexec'ed crashkernel at an IA64 Altix.
>>>
>>> When i tried to run crash (4.0-3.5) on the vmcore, it failed.
>>> Is there a known issue?
> 
> Not until now...
> 
> And there doesn't look to be anything in 4.0-3.6, -3.7 and 3.8 that
> will help.
> 
>> Mmm, i built the crash binary myself from the src.rpm. It probably
>> picked up mismatched kernel headers?
>>
> 
> No, crash doesn't use any kernel headers.
> 
> It looks to be a loop-hole in the memory-node-gathering code
> for (newer?) CONFIG_DISCONTIG ia64 kernels.
> 
>>> % crash System.map* vmlinuz-2.6.18-kdump vmcore
>>>
> 
> BTW, did you mis-copy the command line above?  crash can't
> use a compressed *vmlinuz* file, unless it's really a renamed ELF
> binary?  

Yes, it is a ELF 64-bit binary.
(jackhammer,160) file vmlinu*
vmlinuz-2.6.18-kdump: ELF 64-bit LSB executable, IA-64 (Intel 64 bit
architecture), version 1 (SYSV), statically linked, not stripped
(jackhammer,161)

>
In any case, if the vmlinux file you're using matches the
> vmcore dumpfile, there's no need to use the System.map file
> argument; doing so prevents several commands from being
> able to use line numbers.
> 
> Anyway, back to the problem at hand...
> 
> What happens if you apply the attached patch?  (it's against
> the current 4.0-3.8 version, but should apply)

Failed at different location.

Thanks,
 - jay


(jackhammer,157) crash vmlinuz-2.6.18-kdump vmcore

crash 4.0-3.5
Copyright (C) 2002, 2003, 2004, 2005, 2006  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005  Fujitsu Limited
Copyright (C) 2005  NEC Corporation
Copyright (C) 1999, 2002  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.

crash(26323): unaligned access to 0x60000000001bf1cc, ip=0x400000000026d0f0
crash(26323): unaligned access to 0x60000000001bf1d4, ip=0x400000000026d0f0
crash(26323): unaligned access to 0x60000000001bf1dc, ip=0x400000000026d0f0
crash(26323): unaligned access to 0x60000000001bf1e4, ip=0x400000000026d0f0
crash(26323): unaligned access to 0x60000000001bf1ec, ip=0x400000000026d0f0
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ia64-unknown-linux-gnu"...


crash: invalid structure member offset: zone_zone_mem_map
       FILE: memory.c  LINE: 11401  FUNCTION: dump_memory_nodes()

[./crash] error trace: => 4000000000231c90

  4000000000231c90: OFFSET_verify+336



> Dave
> 




More information about the Crash-utility mailing list