Bug 463523 - Crash tool gives error while analysing vmcore in opensuse 11.1 Final, ppc64
Summary: Crash tool gives error while analysing vmcore in opensuse 11.1 Final, ppc64
Status: RESOLVED DUPLICATE of bug 469307
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: PowerPC-64 All
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Stephan Kulow
QA Contact: E-mail List
URL:
Whiteboard: .
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 11:11 UTC by LTC BugProxy
Modified: 2009-01-28 14:28 UTC (History)
2 users (show)

See Also:
Found By: Third Party Developer/Partner
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LTC BugProxy 2009-01-05 11:11:25 UTC
=Comment: #0=================================================
Pavan Naregundi <pavan.naregundi@in.ibm.com> - 
While analysing vmcore in opensuse 11.1 Final, ppc64 crash gives error as shown below
=====================
# crash -d 1 vmlinux-2.6.27.7-9-ppc64 vmlinux-2.6.27.7-9-ppc64.debug vmcore 

crash 4.0-7.4
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.
 
WARNING: machine type mismatch:
         crash utility: PPC
         vmlinux-2.6.27.7-9-ppc64: PPC64


NOTE: You might want to try the 'crosscrash' tool which is
      distributed in the 'crosscrash' package on SUSE Linux.

crash: vmlinux-2.6.27.7-9-ppc64: not a xen ELF core file
crash: diskdump / compressed kdump: dump does not have panic dump header
crash: vmlinux-2.6.27.7-9-ppc64: not a supported file format

Usage:
  crash [-h [opt]][-v][-s][-i file][-d num] [-S] [mapfile] [namelist] [dumpfile]

Enter "crash -h" for details
========================

As mentioned in 'NOTE' of above message used "crosscrash" to produce the following error 
========================

# crosscrash -d 1 vmlinux-2.6.27.7-9-ppc64 vmlinux-2.6.27.7-9-ppc64.debug vmcore 

crosscrash 4.0-7.4
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.
 
compressed kdump: header->utsname.machine: 
Retrying with different block size: 0

crosscrash: diskdump / compressed kdump: cannot malloc block_size buffer 
========================

Error in crash tool seems like 64 bit compatibility issue of the 32bit crash tool
# file /usr/bin/crash
/usr/bin/crash: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux
2.6.4, dynamically linked (uses shared libs), stripped

# uname -a
Linux llm62 2.6.27.7-9-ppc64 #1 SMP 2008-12-04 18:10:04 +0100 ppc64 ppc64 ppc64 GNU/Linux

# rpm -qf /usr/bin/crash
crash-4.0.7.4-8.3

CPU type: power 6
Comment 1 Bernhard Walle 2009-01-22 19:26:32 UTC
crosscrash is not ready on PPC. Sorry.

crash should be 64 bit. But it's 32 bit. I agree that this is completely useless. Dirk/Anja, can we release the 64 bit crash on ppc/openSUSE as maintenance update. Just as it is, but 64 bit.
Comment 5 Bernhard Walle 2009-01-23 18:22:02 UTC
I disabled build now for 32 bit PPC to prevent that in future.

-------------------------------------------------------------------
Fri Jan 23 19:18:36 CET 2009 - bwalle@suse.de

- Don't build on 32 bit PPC to prevent distribution of 32 bit
  PPC packages. Since kdump doesn't exist on ppc and crash-ppc
  cannot read ppc64 (ELF64) dumps, such a package doesn't have
  any practical benefit.

-------------------------------------------------------------------
Comment 6 Swamp Workflow Management 2009-01-24 11:56:49 UTC
The SWAMPID for this issue is 22217.
Please submit the patch and patchinfo file using this ID.
(https://swamp.suse.de/webswamp/wf/22217)
Comment 8 Bernhard Walle 2009-01-24 12:46:07 UTC
Patchinfo submitted.
Comment 11 Stephan Kulow 2009-01-26 12:40:55 UTC
fixed in factory config.

*** This bug has been marked as a duplicate of bug 469307 ***
Comment 12 Swamp Workflow Management 2009-01-28 14:28:00 UTC
Update released for: crash, crash-devel, crash-doc, crash-sial
Products:
openSUSE 11.1 (debug, i586, ppc64, x86_64)