From owner-freebsd-stable@FreeBSD.ORG Fri Apr 29 12:54:14 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D01531065670 for ; Fri, 29 Apr 2011 12:54:14 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 875C38FC1E for ; Fri, 29 Apr 2011 12:54:13 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFnCy-0007In-Q4 for freebsd-stable@freebsd.org; Fri, 29 Apr 2011 14:54:08 +0200 Received: from p57915789.dip.t-dialin.net ([87.145.87.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 14:54:08 +0200 Received: from jumper99 by p57915789.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 14:54:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: "Helmut Schneider" Date: Fri, 29 Apr 2011 12:53:56 +0000 (UTC) Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p57915789.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000016D X-Antivirus: avast! (VPS 110429-0, 29.04.2011), Outbound message X-Antivirus-Status: Clean Subject: Re: panic, but /var/crash ist empty X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 12:54:14 -0000 Brandon Gooch wrote: > On Wed, Apr 27, 2011 at 1:44 PM, Helmut Schneider > wrote: > > What can I do to create a backtrace to open a PR? > > To get a backtrace from the crash (or drop to the debugger), you'll > need to compile a kernel with at least a couple of options defined. > These two: > > options KDB > options DDB > > ...will allow you to work with the debugger on the console after a > crash. > > Further, with the option KDB_TRACE in the kernel config, you'll get a > backtrace printed automatically when the kernel panicsb. > > Here are a couple of excellent documents to read to get you started: > > http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html > > Kernel debug options: > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-options.html Thanks for the links, I meanwhile was able to create the bt and the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=156691 Helmut