Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 10:04:25 +0000 (UTC)
From:      John Dison <jdison16@yahoo.com>
To:        "hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Kernel crash dumps and swap
Message-ID:  <74900131.1451330.1441361065012.JavaMail.yahoo@mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,according to=C2=A0Chapter=C2=A010.=C2=A0Kernel Debugging
"The=C2=A0dumpon(8)=C2=A0program must be called after the swap partition ha=
s been configured with=C2=A0swapon(8)."

This sounds ridiculous: why should I enable swap in my system in order to b=
e able to obtain a crash dump?Isn't it a mistake in documentation?
I understand that I must label swap partition, but actually *enabling* swap=
 looks unrelated to crash dumps.
Thanks.
From owner-freebsd-hackers@freebsd.org  Fri Sep  4 10:28:38 2015
Return-Path: <owner-freebsd-hackers@freebsd.org>
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 82FF69C9A23
 for <freebsd-hackers@mailman.ysv.freebsd.org>;
 Fri,  4 Sep 2015 10:28:38 +0000 (UTC)
 (envelope-from killing@multiplay.co.uk)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com
 [209.85.212.182])
 (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 243311904
 for <freebsd-hackers@freebsd.org>; Fri,  4 Sep 2015 10:28:37 +0000 (UTC)
 (envelope-from killing@multiplay.co.uk)
Received: by wiclk2 with SMTP id lk2so13089482wic.1
 for <freebsd-hackers@freebsd.org>; Fri, 04 Sep 2015 03:28:30 -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
 :content-transfer-encoding;
 bh=2+QubvquJB23KHRHlyZa6uZtJg5mfjTH83fius/P018=;
 b=EQOYfp6kHjJ9/XlB5pvStDobGHECUloawUWhivOePs09MQICZKAJZcQRqAIBTS73x/
 XmTB65aUySjnXF7QiWHTupgWRSF7mkhxtE7zXjnSQ7T6MK1W6Qrxf0duJTi5Q/cUSLFg
 PXPaJA5K8U616r/L2NzN0bzXHT6p2ckK0DBQ6dVpc1AQl6dVZL2w3xB8vtxVYBwHEE57
 aEVFY/d3+vqWxk1zQBhi1QTqc0bjZllBT3vyQLUEUEC7yqvPWkxI6yZjEtrbGfNJ0/qU
 XPeMIfy9a3FFr5P7RCQE70H63oB3nv7tnS/Mb8LmkVU/m2gHCKPfiGX588DxH4qv25DA
 lZ6g==
X-Gm-Message-State: ALoCoQmlN7/ACxNSvfO+d1g6q52TZ5WtvoSA4Y+CAt4GKBw5CtpDKXkp+H9kMFDwac1aCsb9CSDF
X-Received: by 10.180.19.9 with SMTP id a9mr6131150wie.5.1441362510470;
 Fri, 04 Sep 2015 03:28:30 -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 v8sm3229549wjr.15.2015.09.04.03.28.29
 for <freebsd-hackers@freebsd.org> (version=TLSv1/SSLv3 cipher=OTHER);
 Fri, 04 Sep 2015 03:28:29 -0700 (PDT)
Subject: Re: Kernel crash dumps and swap
To: freebsd-hackers@freebsd.org
References: <74900131.1451330.1441361065012.JavaMail.yahoo@mail.yahoo.com>
From: Steven Hartland <killing@multiplay.co.uk>
Message-ID: <55E97248.80009@multiplay.co.uk>
Date: Fri, 4 Sep 2015 11:28:24 +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: <74900131.1451330.1441361065012.JavaMail.yahoo@mail.yahoo.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2015 10:28:38 -0000

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.

     Regards
     Steve

On 04/09/2015 11:04, John Dison via freebsd-hackers wrote:
> Hello,according to Chapter 10. Kernel Debugging
> "The dumpon(8) program must be called after the swap partition has been configured with swapon(8)."
>
> This sounds ridiculous: why should I enable swap in my system in order to be able to obtain a crash dump?Isn't it a mistake in documentation?
> I understand that I must label swap partition, but actually *enabling* swap looks unrelated to crash dumps.
> Thanks.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74900131.1451330.1441361065012.JavaMail.yahoo>