I can't  run crash  on the live system


Vsles11-1:/usr/src/linux # crash -d8 vmlinux


crash 5.0.1
Copyright (C) 2002-2010 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005 NEC Corporation
Copyright (C) 1999, 2002, 2007 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.

get_live_memory_source: /dev/mem
WARNING: vmlinux and /proc/version do not match!

WARNING: /proc/version indicates kernel version: 2.6.32.12-0.7-xen

crash: please use the vmlinux file for that kernel version, or try using
the System.map for that kernel version as an additional argument.



> Date: Thu, 27 Oct 2011 10:41:00 -0400
> From: anderson@redhat.com
> To: crash-utility@redhat.com
> Subject: Re: [Crash-utility] [help]crash can't anaylyse xen guest paravirtulized linux vmcore
>
>
>
> ----- Original Message -----
> >
> >
> > It is wrong in last mail , correct as follow:
> >
> >
> > xen and dom0 is x86_64
> >
> >
> > when para x86_64 domU, problem happens
> > when hvm 32bit domU , crash can work correctly.
>
> Just for sanity's sake, log into the x86_64 domU, run crash
> on the live system, and enter:
>
> crash> sym phys_to_machine_mapping
>
> crash> sym max_pfn
>
> Then log out, and compare the output above with
> the vmlinux file that you're using with the dumpfile:
>
> $ nm -Bn | grep -e max_pfn -e phys_to_machine_mapping
>
> Dave
>
> --
> Crash-utility mailing list
> Crash-utility@redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility