Ming Zhang wrote:
Hi All

My laptop has 64bit fc6 and crash utility. One of the development
machine is 32bit RHEL4. whenever i try to open the dump generated by
that box, I got a unknown format error. i can analyze the dump with the
crash from that RHEL4, and also my laptop can analyze the dump from
another 64bit RHEL4.

so my question is how to allow the crash in a 64bit box to open a dump
from a 32bit box?

Thanks!

Ming
 
 

Try copying a 32-bit crash utility to the 64-bit laptop,
and running it from there.

Here's an example:

# uname -m
x86_64
# file ./crash
./crash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
# ./crash /tmp/vm*

crash 4.0-3.21
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007  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  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 "i686-pc-linux-gnu"...

      KERNEL: /tmp/vmlinux
DEBUG KERNEL: /tmp/vmlinux-2.4.21-1.1931.2.421.ent.debug
    DUMPFILE: /tmp/vmcore
        CPUS: 1
        DATE: Tue Sep  9 18:02:05 2003
      UPTIME: 05:04:13
LOAD AVERAGE: 9.96, 10.56, 10.89
       TASKS: 72
    NODENAME: moe.lab.boston.redhat.com
     RELEASE: 2.4.21pre1
     VERSION: #3 Tue Sep 9 14:13:17 EDT 2003
     MACHINE: i686  (501 Mhz)
      MEMORY: 128 MB
       PANIC: "Oops: 0002" (check log for details)
         PID: 3701
     COMMAND: "sh"
        TASK: c791c000
         CPU: 0
       STATE: TASK_RUNNING (PANIC)

crash>

Dave