From owner-freebsd-questions Fri Apr 12 18:38:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id 0D18E37B419 for ; Fri, 12 Apr 2002 18:38:45 -0700 (PDT) Received: (qmail 30065 invoked from network); 13 Apr 2002 01:38:44 -0000 Received: from unknown (HELO celebris.tddhome) ([64.81.20.229]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Apr 2002 01:38:44 -0000 Received: (from tomdean@localhost) by celebris.tddhome (8.11.3/8.11.3) id g3D1chF01203; Fri, 12 Apr 2002 18:38:43 -0700 (PDT) (envelope-from tomdean@speakeasy.org) Date: Fri, 12 Apr 2002 18:38:43 -0700 (PDT) Message-Id: <200204130138.g3D1chF01203@celebris.tddhome> X-Authentication-Warning: celebris.tddhome: tomdean set sender to tomdean@speakeasy.org using -f From: User Tomdean To: freebsd-questions@FreeBSD.ORG Subject: How do I Create a Crash Dump? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been chasing a problem and have been unable to get a crash dump. I want to create a dump using ddb and panic. So, I break into ddb and enter panic. Then 'call boot(0)' and the system reboots. The disks were not dismounted. Ok. When the system reboots, I see: ... dumpon: crash dumps to /dev/ad0s2b (116, 196609) Checking for core dump: dumplo = 570507264 (1114272 * 512) savecore: magic number mismatch (544c4645 != 8fca0101) savecore: no core dump ... How do I get past this point? I have makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB #debugger options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to #DDB, if available. options ALT_BREAK_TO_DEBUGGER in the kernel config. I have dumpdev="/dev/ad0s2b" # Device name to crashdump to (or NO). dumpdir="/var/crash" # Directory where crash dumps are to be stored savecore_flags="-v" # Used if dumpdev is enabled above, and present. in /etc/rc.conf tomdean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message