From owner-freebsd-stable Fri Dec 14 16:45: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 4F19737B416 for ; Fri, 14 Dec 2001 16:45:02 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id QAA13650 for ; Fri, 14 Dec 2001 16:36:26 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id fBF0aQG26843 for freebsd-stable@freebsd.org; Fri, 14 Dec 2001 16:36:26 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200112150036.fBF0aQG26843@arch20m.dellroad.org> Subject: savecore generating bogus vmcore files? To: freebsd-stable@freebsd.org Date: Fri, 14 Dec 2001 16:36:26 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any ideas why the "vmcore" files generated by savecore are not being recognized by gdb? This is FreeBSD 4.4-stable checked out with the date Sept 27, 2001 8:00 PDT. Console messages: ... Additional daemons: syslogd. dumpon: crash dumps to /dev/ad0s1b (116, 131073) Checking for core dump: savecore: reboot after panic: page fault savecore: system went down at Fri Dec 14 15:34:27 2001 savecore: /var/crash/bounds: No such file or directory savecore: writing core to /var/crash/vmcore.0 savecore: writing kernel to /var/crash/kernel.0 Doing additional network setup:. ... Trying to debug using gdb: $ gdb -n kernel.debug vmcore.0 GNU gdb 4.18 Copyright 1998 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 "i386-unknown-freebsd"... "/usr/src/sys/compile/FOOBAR/vmcore.0" is not a core dump: File format not recognized (gdb) q $ file vmcore.0 vmcore.0: data $ hexdump -C vmcore.0 |head 00000000 6f ef 00 f0 6f ef 00 f0 c3 e2 00 f0 6f ef 00 f0 00000010 6f ef 00 f0 54 ff 00 f0 08 80 00 f0 6f ef 00 f0 00000020 a5 fe 00 f0 87 e9 00 f0 6f ef 00 f0 6f ef 00 f0 00000030 6f ef 00 f0 6f ef 00 f0 57 ef 00 f0 6f ef 00 f0 00000040 cb 07 00 c0 4d f8 00 f0 41 f8 00 f0 01 2c 00 f0 00000050 39 e7 00 f0 59 f8 00 f0 23 2c 00 f0 d2 ef 00 f0 00000060 a4 e7 00 f0 c7 1d 00 f0 6e fe 00 f0 53 ff 00 f0 00000070 28 2c 00 f0 a4 f0 00 f0 c7 ef 00 f0 31 79 00 c0 00000080 0d 00 00 00 6f ef 00 f0 6f ef 00 f0 6f ef 00 f0 00000090 6f ef 00 f0 6f ef 00 f0 6f ef 00 f0 6f ef 00 f0 Thanks for any ideas.. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message