-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, As I indicated previously, I'm having a problem with running crash from within the kexec environment of SLES11. Actually, crash itself runs fine, but its gdb portion seems to be having problems. Here is a capture of what happens : > Running /usr/bin/run-crashdc-sles11.sh > crashexe : /usr/bin/crash > crashoutput : /root/var/crash/2009-09-29-17:45/crash-data-200909291746.txt > namelist : /root/boot/vmlinux-2.6.27.23-0.1-default > vmcorefile : /root/var/crash/2009-09-29-17:45/vmcore > debuginfofile : /root/usr/lib/debug/boot/vmlinux-2.6.27.23-0.1-default.debug > This portion above is debug info from crashdc. > 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. Bernhard Walle might have an idea. Here is what I have in /etc/sysconfig/kdump : > KDUMP_REQUIRED_PROGRAMS="/bin/basename /usr/bin/crash /usr/bin/crashdc /usr/bin/run-crashdc-sles11.sh /etc/rc.status /bin/gzip /bin/logger /usr/bin/gdb /lib/libpthread.so.0 /lib/libthread_db.so.1" This line allow for inclusion of the listed file into the initramfs file that gets loaded at kexec time. Maybe crash/gdb is looking for it where it's not, but right now I'm a bit stucked. As a side not to Bernhard, is there a way to have kdump stop its execution while in the kexec kernel ? Just like when it hits an error and drop to a shell ? TIA, - -- Louis Bouchard, Linux Support Engineer Team lead, EMEA Linux Competency Center, Linux Ambassador, HP HP Services 1 Ave du Canada HP France Z.A. de Courtaboeuf louis.bouchard@xxxxxx 91 947 Les Ulis http://www.hp.com/go/linux France http://www.hp.com/fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrDc2gACgkQDvqokHrhnCyU6QCdHSlzw6q2u0qoifczMp3AGMob woAAoMbhGJaDgiQ6GhqB+PNTCvsyELB6 =l3xC -----END PGP SIGNATURE----- -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility