From nobody@FreeBSD.org  Fri Mar 23 13:07:23 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B995016A404
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Mar 2007 13:07:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id A93C313C4B8
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Mar 2007 13:07:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2ND7NVW054136
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Mar 2007 13:07:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2ND2Lf3052418;
	Fri, 23 Mar 2007 13:02:21 GMT
	(envelope-from nobody)
Message-Id: <200703231302.l2ND2Lf3052418@www.freebsd.org>
Date: Fri, 23 Mar 2007 13:02:21 GMT
From: Rajkumar S<raj@linuxense.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: no coredump after kernel panic
X-Send-Pr-Version: www-3.0

>Number:         110711
>Category:       misc
>Synopsis:       no coredump after kernel panic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 23 13:10:04 GMT 2007
>Closed-Date:    Fri Mar 23 14:47:00 GMT 2007
>Last-Modified:  Fri Mar 23 14:47:00 GMT 2007
>Originator:     Rajkumar S
>Release:        FreeBSD 6.1-RELEASE #0
>Organization:
Linuxense 
>Environment:
FreeBSD safenet.linuxense.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I am trying to get core dump of a kernel panic relating to safenet
driver, so that I can file a meaning full PR or even try to debug
myself. But I am not getting a core dump after panic. I have gone
through the developers manual and I believe I have taken care of all
the usual stuff.

dumpdev="/dev/ad2s1b"
dumpdir="/var/crash"
savecore_flags="-v -z"

hw.physmem: 508989440

Device          1K-blocks     Used    Avail Capacity
/dev/ad2s1b        768000        0   768000     0%

/dev/ad2s1d    989M    7.9M    902M     1%    /var

My kernel panics immediately on boot up, before the disks are probed.
After panic I boot with a different kernel to extract the core. But I
get the following error during boot up.

Checking for core dump on /dev/ad2s1b...
unable to open bounds file, using 0
checking for kernel dump on device /dev/ad2s1b
mediasize = 786432000
sectorsize = 512
magic mismatch on last dump header on /dev/ad2s1b
savecore: no dumps found

>How-To-Repeat:
This happens every time.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Fri Mar 23 14:46:59 UTC 2007 
State-Changed-Why:  
Hello, please consider mailing these type of questions to the questions@ 
mailinglist or the hackers@ mailinglist. This is not a bug, but probably 
a user error (not ment to harm or make you feel bad or something). 
Please check whether the directories exist, whether the space allocated 
is enough etc and ask for help on the mailinglists. This is not a PR but 
a question thus closing the PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110711 
>Unformatted:
