Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 16:36:26 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        freebsd-stable@freebsd.org
Subject:   savecore generating bogus vmcore files?
Message-ID:  <200112150036.fBF0aQG26843@arch20m.dellroad.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112150036.fBF0aQG26843>