From owner-freebsd-hackers@freebsd.org Fri Sep 4 13:15:11 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA9169C931B for ; Fri, 4 Sep 2015 13:15:11 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75D0914A8 for ; Fri, 4 Sep 2015 13:15:10 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wibz8 with SMTP id z8so17386969wib.1 for ; Fri, 04 Sep 2015 06:15:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=ttwx2AhyeLEG/TV26coSNbw6Sf0zqZbbQs83N7sQiTY=; b=aa+mYy1+FwjGD6z6LCkwYzhEb5/Riegou5Yxw1bkSG81ozSeQtyj+NdLE66zkxoqkF 8v7KITNZz3dlIbPLLk+GM3EbfQXRjMMCY4iYsiiTskp2pOb+pUNh8tKSMl7oPLv+oEc3 YkPLGVaIph5Y4ufI8MwOK9q8IxCKYlNEH6wiFuQGHzSDg9A5CsDvscohEi55JK52Din4 mIv2YBs5yqsDF7HeRhy3MbAD3eN2749j2rzXaRZ2E7nuJtCWMguw9JFLoSu8zozVhi6R gF40m3hpgWgGW0WvbDSIwtu7AdxuUU1+XGGSly+QPap967/v5W7AJi5YHaLiqw0N7dKs /HMA== X-Gm-Message-State: ALoCoQkABkE2ctbZ6g9HTSWati4lAFJ8jhvDirCBcx3TfThs4+gEqxSmkjSqX/wenRChh/fihNnn X-Received: by 10.194.179.37 with SMTP id dd5mr6870244wjc.129.1441372508871; Fri, 04 Sep 2015 06:15:08 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by smtp.gmail.com with ESMTPSA id k12sm4073994wjw.4.2015.09.04.06.15.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Sep 2015 06:15:07 -0700 (PDT) Subject: Re: Kernel crash dumps and swap To: John Dison , "freebsd-hackers@freebsd.org" References: <55E97248.80009@multiplay.co.uk> <1660801547.1426758.1441364010636.JavaMail.yahoo@mail.yahoo.com> From: Steven Hartland Message-ID: <55E99956.9020507@multiplay.co.uk> Date: Fri, 4 Sep 2015 14:15:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1660801547.1426758.1441364010636.JavaMail.yahoo@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 13:15:12 -0000 That is correct, I would suggest raising a PR to get this clarified. On 04/09/2015 11:53, John Dison wrote: > So if I use dumpdev="/path/to/dev" I can have kernel crash dumps > without swap enabled? > This should be clarified in documentation IMO, right now I have an > impression that swap is mandatory for crash dumps to work. > > > ------------------------------------------------------------------------ > *From:* Steven Hartland > *To:* freebsd-hackers@freebsd.org > *Sent:* Friday, September 4, 2015 1:28 PM > *Subject:* Re: Kernel crash dumps and swap > > That's correct as the default for dumpdev="auto" in rc.conf is for dump > to use swap devices, so in order for dump to locate a device to dump to > in this case swap must be enabled. > >