From owner-freebsd-current@FreeBSD.ORG Thu Jul 18 09:00:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E3890E46 for ; Thu, 18 Jul 2013 09:00:30 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC3EFB7 for ; Thu, 18 Jul 2013 09:00:30 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id j14so1553976eak.36 for ; Thu, 18 Jul 2013 02:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=H8En/l+FniryLLqwaBQ/mTu/4J/5B8OTXn+e6Em9Wb0=; b=fEOuG3C2WVVjTC0sq/7LbUGk5YTM5QxNielxKn4juSWDMlEA1UQCfN96r6Qbxzpf2b X0fevak9HWmDkYvVrmVA6qHiErhldmUpWt4ZJEBUwi4BuvEQ69oNdWmmrNs7e5Gd8Nj4 ECaZiw1pAYgY262ulyKs7asyUcJ3FRz4bloGIOZfBc6K9AqQaRY9ENQtkuWlSyJEbLei +Z3/MPGF7aR5gOSlZGkZ1WH566YK0GFfRkb8i2jMzWkzQvjt3EmnOrjBPOeWJVsU91lb OQL7IHV3Qys/qAKNZVvEHBmWGDxVUskVYo2CCDr6xfrgQ0N41YgeywKRIfS1Ovt9hDUA Ig3Q== X-Received: by 10.14.224.201 with SMTP id x49mr10129393eep.6.1374138029508; Thu, 18 Jul 2013 02:00:29 -0700 (PDT) Received: from localhost ([188.230.122.226]) by mx.google.com with ESMTPSA id a4sm17671210eez.0.2013.07.18.02.00.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Jul 2013 02:00:28 -0700 (PDT) Date: Thu, 18 Jul 2013 12:00:26 +0300 From: Mikolaj Golub To: freebsd-current@FreeBSD.org Subject: Re: core.txt.N not created anymore on panic Message-ID: <20130718090025.GA27874@gmail.com> References: <20130717071655.GE4484@caravan.chchile.org> <20130717072151.GF4484@caravan.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130717072151.GF4484@caravan.chchile.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 09:00:31 -0000 On Wed, Jul 17, 2013 at 09:21:51AM +0200, Jeremie Le Hen wrote: > On Wed, Jul 17, 2013 at 09:16:55AM +0200, Jeremie Le Hen wrote: > > Hi, > > > > Early May I set ddb_enable="YES" (crashinfo_enable="YES" by default). > > Upon panic, it created the following kind of files: > > > > -rw------- 1 root wheel 549 Jun 26 22:09 info.0 > > -rw------- 1 root wheel 1518501888 Jun 26 22:09 vmcore.0 > > -rw------- 1 root wheel 196981 Jun 26 22:09 core.txt.0 > > -rw------- 1 root wheel 546 Jun 26 23:15 info.1 > > -rw------- 1 root wheel 472608768 Jun 26 23:15 vmcore.1 > > -rw------- 1 root wheel 207034 Jun 26 23:15 core.txt.1 > > -rw------- 1 root wheel 546 Jun 27 00:47 info.2 > > -rw------- 1 root wheel 667717632 Jun 27 00:47 vmcore.2 > > -rw------- 1 root wheel 208745 Jun 27 00:48 core.txt.2 > > -rw------- 1 root wheel 549 Jul 3 14:40 info.3 > > -rw------- 1 root wheel 1455198208 Jul 3 14:40 vmcore.3 > > -rw------- 1 root wheel 208173 Jul 3 14:41 core.txt.3 > > > > The core.txt.N files contained crashinfo(8) informations along with > > ddb textdump, because crashinfo(8) outputs dmesg. > > > > > > Yesterday, I upgraded to latest -CURRENT from one from June 9th. While > > stress-testing overnight, I got a couple of panics but core.txt.N are > > not created anymore. > > > > -rw------- 1 root wheel 530 Jul 17 01:10 info.5 > > -rw------- 1 root wheel 75776 Jul 17 01:10 textdump.tar.5 > > -rw------- 1 root wheel 529 Jul 17 02:01 info.6 > > -rw------- 1 root wheel 74240 Jul 17 02:01 textdump.tar.6 > > -rw------- 1 root wheel 530 Jul 17 04:20 info.7 > > -rw------- 1 root wheel 74752 Jul 17 04:20 textdump.tar.7 > > -rw------- 1 root wheel 530 Jul 17 07:50 info.8 > > -rw------- 1 root wheel 92672 Jul 17 07:50 textdump.tar.8 > > -rw------- 1 root wheel 531 Jul 17 08:44 info.9 > > -rw------- 1 root wheel 110592 Jul 17 08:44 textdump.tar.9 > > > > Each textdump.tar.N contains: > > > > tar tvf /var/crash/textdump.tar.9 > > -rw------- 0 root wheel 49152 Jul 17 08:30 ddb.txt > > -rw------- 0 root wheel 3179 Jul 17 08:30 config.txt > > -rw------- 0 root wheel 54137 Jul 17 08:30 msgbuf.txt > > -rw------- 0 root wheel 88 Jul 17 08:30 panic.txt > > -rw------- 0 root wheel 120 Jul 17 08:30 version.txt > > > > Any idea changed in between? I checked svn log in etc/ but I found > > nothing relevant. Before your system was configured to generate vmcore dumps. Now it is configured to generate textdumps. crashinfo(8) works with vmcore. > > For the record: > > debug.ddb.capture.bufoff: 0 > debug.ddb.capture.maxbufsize: 5242880 > debug.ddb.capture.inprogress: 0 > debug.ddb.capture.bufsize: 49152 > debug.ddb.capture.data: > debug.ddb.scripting.scripts: lockinfo=show locks; show alllocks; show > lockedvnods > kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; 'textdump set' tells ddb to store dumps in textdump format. Remove this from /etc/ddb.conf (and run /etc/rc.d/ddb) if you want crashinfo(8) data. -- Mikolaj Golub