[Crash-utility] The problems when running SuSE 12 on VirtualBox

Nan Xiao xiaonan830818 at gmail.com
Fri Nov 13 08:27:57 UTC 2015


Hi all,

Firstly, I am not sure whether posting this issue on this mailing list
is appropriate, if not,
please forgive me, thanks!

I install SuSE Enterprise Linux 12 (Xen version) on VirtualBox, and
want to use crash.
Executing "crash" command, and the output likes this:

# crash

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

crash: /boot/symtypes-3.12.49-6-xen.gz: original filename unknown
  Use "-f /boot/symtypes-3.12.49-6-xen.gz" on command line to prevent
this message.

crash: /boot/symtypes-3.12.49-6-default.gz: original filename unknown
  Use "-f /boot/symtypes-3.12.49-6-default.gz" on command line to
prevent this message.

crash: /boot/xen-4.5.1_10-1.gz: original filename unknown
  Use "-f /boot/xen-4.5.1_10-1.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-4.5.1_10-1.gz_E5lLat: X86

crash: /boot/xen-4.5.gz: original filename unknown
  Use "-f /boot/xen-4.5.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-4.5.gz_0BL7f2: X86

crash: /boot/xen-4.gz: original filename unknown
  Use "-f /boot/xen-4.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-4.gz_PW97tB: X86

crash: /boot/xen-dbg-4.5.1_10-1.gz: original filename unknown
  Use "-f /boot/xen-dbg-4.5.1_10-1.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-dbg-4.5.1_10-1.gz_zcILOa: X86

crash: /boot/xen-dbg-4.5.gz: original filename unknown
  Use "-f /boot/xen-dbg-4.5.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-dbg-4.5.gz_AEpJfK: X86

crash: /boot/xen-dbg-4.gz: original filename unknown
  Use "-f /boot/xen-dbg-4.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-dbg-4.gz_np36Nj: X86

crash: /boot/xen-dbg.gz: original filename unknown
  Use "-f /boot/xen-dbg.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-dbg.gz_1tAiuT: X86

crash: /boot/xen.gz: original filename unknown
  Use "-f /boot/xen.gz" on command line to prevent this message.

WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen.gz_htZLuv: X86

crash: /boot/symvers-3.12.49-6-xen.gz: original filename unknown
  Use "-f /boot/symvers-3.12.49-6-xen.gz" on command line to prevent
this message.

GNU gdb (GDB) 7.6
Copyright (C) 2013 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"...

WARNING: could not find MAGIC_START!
WARNING: cannot read linux_banner string
crash: /var/tmp/vmlinux-3.12.49-6-xen.gz_FjRFMJ and /dev/mem do not match!

Usage:

 crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS]     (dumpfile form)
 crash [OPTION]... [NAMELIST]                          (live system form)

Enter "crash -h" for details.

My question are as follows:

(1) There are so may warnings like this:

crash: xxxxxx: original filename unknown
  Use "-f xxxxxx" on command line to prevent this message.

Do I need to add somay "-f xxxxxx" options on command line? Is there
any better method?

(2) "machine type mismatch"
WARNING: machine type mismatch:
crash utility: X86_64
/var/tmp/xen-4.5.1_10-1.gz_E5lLat: X86

But according to "uname -a":

 # uname -a
Linux linux-6ev3 3.12.49-6-xen #1 SMP Mon Oct 26 16:05:37 UTC 2015
(11560c3) x86_64 x86_64 x86_64 GNU/Linux

The running SuSE is also a 64-bit OS, so whether can remove these warnings?

(3)

WARNING: could not find MAGIC_START!
WARNING: cannot read linux_banner string
crash: /var/tmp/vmlinux-3.12.49-6-xen.gz_FjRFMJ and /dev/mem do not match!

How can I fix this issue and run crash on SuSE?

Thanks very much in advance!
Best Regards
Nan Xiao




More information about the Crash-utility mailing list