[Crash-utility] [help]crash can't anaylyse xen guest paravirtulized linux vmcore

Dave Anderson anderson at redhat.com
Wed Oct 26 15:28:00 UTC 2011



----- Original Message -----
> 
> 
> SLES11:/opt/tar_rpm/crash-5.1.9 # ./crash -d8 /opt/kdump/vmlinux
> /opt/kdump/sles11_1.mem > /tmp/crash_output3
> 
> 
> output see attachement.
> 
> 
> 
> Thank your response.

It's been a long time since I've looked at the particulars of a Xen dumpfile
given that Red Hat has discontinued Xen for KVM, so I'm a bit rusty.  In any
case, upon the first memory read, while trying to walk through the page table
data to resolve a kernel virtual address, it comes to a dead end.  I have no
idea why, nor do I have any further suggestions.

Can the SLES-qualified members of the list confirm that "xm dump" still creates
dumpfiles that crash can handle?

Dave


 
> 
> > Date: Wed, 26 Oct 2011 08:57:01 -0400
> > From: anderson at redhat.com
> > To: crash-utility at redhat.com
> > Subject: Re: [Crash-utility] [help]crash can't anaylyse xen guest
> > paravirtulized linux vmcore
> > 
> > 
> > 
> > ----- Original Message -----
> > > 
> > > 
> > > xen guest linux : paravirtulized
> > > 
> > > Vsles11-1:/usr/src/linux # grep CONFIG_DEBUG_INFO .config -n
> > > 4574:CONFIG_DEBUG_INFO=y
> > > Vsles11-1:/usr/src/linux # ls
> > > ..tmp_kallsyms1.o.cmd .tmp_System.map .version Makefile crypto
> > > kernel
> > > scripts
> > > ..tmp_kallsyms2.o.cmd .tmp_kallsyms1.S .vmlinux.cmd
> > > Module.symvers
> > > drivers lib security
> > > ..tmp_vmlinux1.cmd .tmp_kallsyms1.o .vmlinux.o.cmd README
> > > firmware mm
> > > sound
> > > ..tmp_vmlinux2.cmd .tmp_kallsyms2.S COPYING README.SUSE fs
> > > modules.builtin tools
> > > .config .tmp_kallsyms2.o CREDITS REPORTING-BUGS include
> > > modules.order
> > > usr
> > > .config.old .tmp_versions Documentation System.map init net virt
> > > .mailmap .tmp_vmlinux1 Kbuild arch ipc perfmon vmlinux
> > > .missing-syscalls.d .tmp_vmlinux2 MAINTAINERS block kdb samples
> > > vmlinux.o
> > > Vsles11-1:/usr/src/linux #
> > > 
> > > SLES11:/etc/xen # xm dump-core 4 /opt/sles11_1.mem
> > > Dumping core of domain: 4 ...
> > > 
> > > SLES11:/etc/xen # cd /opt/
> > > SLES11:/opt # ls
> > > .Trash-0 centos_guest huawei kdump linux-3.0 novell sles11_1.mem
> > > sys_use user xen_study
> > > 10-17-12:52 gnome job kernel lost+found openoffice.org sles11_ana
> > > tar_rpm vmlinux
> > > Life hardware kde3 kvm network openoffice.org3 sles11_guest
> > > tencent
> > > winxp_guest
> > > 
> > > 
> > > SLES11:/opt # crash vmlinux sles11_1.mem
> > > 
> > > crash 4.0-7.6
> > > Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 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.
> > > 
> > > 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 "x86_64-unknown-linux-gnu"...
> > > 
> > > 
> > > crash: cannot resolve "end_pfn"
> > > 
> > > use lastest crash version:
> > > SLES11:/opt/tar_rpm/crash-5.1.9 # ./crash /opt/vmlinux
> > > /opt/sles11_1.mem
> > > 
> > > crash 5.1.9
> > > Copyright (C) 2002-2011 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.
> > > 
> > > GNU gdb (GDB) 7.0
> > > Copyright (C) 2009 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later
> > > <http://gnu.org/licenses/gpl.html>
> > > This is free software: you are free to change and redistribute
> > > it.
> > > There is NO WARRANTY, to the extent permitted by law. Type "show
> > > copying"
> > > and "show warranty" for details.
> > > This GDB was configured as "x86_64-unknown-linux-gnu"...
> > > 
> > > crash: cannot find mfn 0 (0x0) in page index
> > > 
> > > crash: cannot read/find pte page
> > > --
> > 
> > Using the latest version of crash, what is the output of:
> > 
> > $ crash -d8 vmlinux sles11_1.mem
> > 
> > It's going to quite verbose -- you probably want to save it as a
> > file
> > like this:
> > 
> > $ crash -d8 vmlinux sles11_1.mem > /tmp/output
> > 
> > and then attach it to the mail message.
> > 
> > Dave
> > 
> > --
> > Crash-utility mailing list
> > Crash-utility at redhat.com
> > https://www.redhat.com/mailman/listinfo/crash-utility
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list