Hi again,
Louis Bouchard schrieb:
> 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.
> NOTE: stdin: not a tty
> cannot determine relocation value: not a live system
> gdb /root/usr/lib/debug/boot/vmlinux-2.6.27.23-0.1-default.debug
> dlopen failed on 'libthread_db.so.1' - libthread_db.so.1: cannot open shared
object file: No such file or directory
> GDB will not be able to debug pthreads.
> 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".../usr/bin/crashdc: line
160: 682 Killed $crashexe -d $crashdebug $namelist $debuginfofile
$vmcorefile < $crashcmd
> File /root/var/crash/2009-09-29-17:45/crash-data-200909291746.txt has been generated
> generated a crash-data file to /root/var/crash/2009-09-29-17:45
> ..done
> Restarting system.
My feeling is that the "dlopen failed on 'libthread_db.so.1'" might be
causing this.
I don't think so. I just tried to reproduce the problem here with
openSUSE 11.1 (I have no SLES). In my case, I also got the "killed", but
it was too less memory. I changed the reservation to be 256 MiB for the
crashkernel, and now it works.
I did in the shell I got in the kexec environment:
% ln -s root/boot/vmlinux-2.6.27.7-9-pae .
% ln -s root/usr/lib/debug/boot/vmlinux-2.6.27.7-9-pae.debug .
% echo bt > cmdlist
% root/usr/bin/crash vmlinux-2.6.27.7-9-pae /proc/vmcore -i cmdlist
With this, I got a backtrace. I also get the libthread_db warning, but
it was harmless.
BTW: Did you try to set LD_LIBRARY_PATH? Maybe it's necessary so that
dlopen() finds the lib. But I didn't investigate ...
HTH.
Regards,
Bernhard