Hello, * Dave Anderson <anderson@xxxxxxxxxx> [2006-11-08 22:26]: > Olaf Hering wrote: > > On Wed, Nov 08, Dave Anderson wrote: > > > Olaf Hering wrote: > > > > > > > crash 4.0-3.9 can not read a dump file from an ia64 box running 2.6.5. > > > > Is this supposed to work? > > > > > > > > crash -s boot/System.map-2.6.5-7.267-sn2 boot/Kerntypes-2.6.5-7.267-sn2 dump.3 > > > > > > Well, if it did work, it would be news to me. I've certainly never run crash > > > with a "Kerntypes" file as a substitute for a -g built vmlinux file. > > > > Thats all we have right now. And sadly, I have been told that gcc will > > generate different asm depending on what host the kernel is compiled > > (memory config etc.). So getting the exact vmlinux again may be a > > challenge with gcc3.2. > > Well, that's always been the case, and that's OK. In that case, > all you have to do is compile the identical kernel source code > with -g, but also pass the System.map file of the "real" dumped > vmlinux on the command line, as in: > > # crash vmlinux-rebuilt-with-g System.map-of-dumped-vmlinux dumpfile > > That's the sole purpose of the System.map argument, which should > *only* be used in such a case. I get this output here: # crash ./vmlinux-2.6.5-7.282-debug map.4 dump.4 crash 4.0-53.1 Copyright (C) 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Copyright (C) 2004, 2005, 2006 IBM Corporation Copyright (C) 1999-2006 Hewlett-Packard Co Copyright (C) 2005 Fujitsu Limited 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. crash: map.4: not a supported file format Usage: crash [-h [opt]][-v][-s][-i file][-d num] [-S] [mapfile] [namelist] [dumpfile] Enter "crash -h" for details. ./vmlinux-2.6.5-7.282-debug is a uncompressed kernel image without debug information (IA 64), map.4 is a normal System.map file and dump.4 is the LKCD dump file. Without the map.4 argument, crash doesn't complain about the file formats. Any hints? Thanks! Regards, Bernhard
Attachment:
pgpSZ9hPPvFOb.pgp
Description: PGP signature
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility