From owner-freebsd-stable@FreeBSD.ORG Sun Aug 18 12:22:16 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D5926A65; Sun, 18 Aug 2013 12:22:16 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id 983D3252C; Sun, 18 Aug 2013 12:22:16 +0000 (UTC) Received: from mobileKamikaze.norad (HSI-KBW-134-3-231-194.hsi14.kabel-badenwuerttemberg.de [134.3.231.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id 3B8628623F; Sun, 18 Aug 2013 14:22:14 +0200 (CEST) Message-ID: <5210BC76.9090102@bsdforen.de> Date: Sun, 18 Aug 2013 14:22:14 +0200 From: Dominic Fandrey MIME-Version: 1.0 To: John Baldwin Subject: Re: System doesn't dump References: <51A5A322.1020503@bsdforen.de> <201305300902.29766.jhb@freebsd.org> In-Reply-To: <201305300902.29766.jhb@freebsd.org> Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 12:22:16 -0000 On 30/05/2013 15:02, John Baldwin wrote: > On Wednesday, May 29, 2013 2:41:38 am Dominic Fandrey wrote: >> I have a number of actions that reliably panic the system, such as >> performing shutdown -p (yes I'm booting into an inconsistent file >> system every time). Both with my notebook and my workstation. >> >> However I cannot get the system to dump. >> >> dumpdir=/var/crash >> and I've tried ada0s2b, /dev/ada0s2b, label/5swap, /dev/label/5swap and AUTO >> for dumpdev to no avail. >> >> The swap partition is 16g, the machines have 8g RAM and there's plenty >> of hard disk space available for /var/crash. >> >> I'm looking for that secret, undocumented trigger, that makes the >> system dump if a panic occurs. Once upon a time dumping just worked >> if the swap partition was large enough. I miss those olden days. > > Does /dev/dumpdev exist and point to your swap partition after booting? > # ll /dev/dumpdev lrwxr-xr-x 1 root wheel 16B 18 Aug 14:42 /dev/dumpdev@ -> /dev/label/5swap # ll /dev/label/5swap crw-rw---- 1 root operator 0x72 18 Aug 14:42 /dev/label/5swap Yes, looks like it. And it's a genuine swap partition: > swapinfo Device 1K-blocks Used Avail Capacity /dev/label/5swap 16777212 0 16777212 0% -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?