From nobody Fri Nov 07 05:16:48 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4d2nNd0cySz6536d; Fri, 07 Nov 2025 05:16:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d2nNc5nllz3QxX; Fri, 07 Nov 2025 05:16:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762492608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vDpaDgL2N1esqV+PxFcXFKQSW/x+i7I1+kI+BpGuNls=; b=Lq9mByfs75+cW9ep2xPmNcdqIJut3stsrF+pfOGScmS15EUCD19wXfMGDLAThQ1kbmN1ov YDEVJLiFhMPZbb6WL+8NKDBmZlJjs0fa9e4o9Sx5fpKOoGRYnxhoN44gcW1tBnB/vcxCYh h0vrECyTN9ZyJmyy/JGPoiGuZz3CYGqBvhQrl6D0ICJCfRFRMBfIBwtxQgJH3wIhB7GNdy 4KJbT3kINvq6U5AIXyP+uWiUhJfP2PFjuj3SkzAQCLImlVGEtiogN0l/fPSOphp50Llivz dmp2yQow/cjI6blnruWFykKSbVGAxYqbEzc8LSyZVWLQdXuoERBXiVbjTbVlSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762492608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vDpaDgL2N1esqV+PxFcXFKQSW/x+i7I1+kI+BpGuNls=; b=tS/eqkfjPCCvpJxVyXNmHiFh3b9i0/0DIm0qfd8I7ZWG2S4pBYWXqAcz9PjRj/8tUn8yzT SH88Qquf979t4Af6PR1T/v6fwqo3/1DZDqvWpp1p3TcswZDAhjmR3tHPOJJNxFpLHiGoDQ YkR79LfOvAm4WRA9/DSVz69N3bsdQTxmY+89ttpIsykWkYC4DMMEonYDGXOIRoCJOtl/ob 7ouloP8XXtiDC07db8KrAsJKfXCg3mH0gd0ssfjMyNsQvJV1o/VXbwsIFPF1aq+tD9Rdmr RxUTL5GP2VCxlMbUBBjg1qQ8L8JftlbDSyIXxtqDcmHjFgAU3X7iQ9+/uJ5Fsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762492608; a=rsa-sha256; cv=none; b=wFNir13nDRNluwbxEHDE+FMuRj3oF3odm9d5DpvkXXaux+vzpef6/0/JlNdyTQtiN6CENz PrKU3koX6rEjZ9dIdfCcZT1KUv63iwk0GpJlDYRSdpIcwoj1H09FP0E34W6exgwc/7mYWg G4hardrcpXZrp+ch6od/UET57MfmstPBlONp7OfEVKu2k4S0NSI9aEpHgotB2Nkt79UexK HcsaaCxNOwbb78Vdy5yNTHgxsLKc/MQmoNfMesh4pGixb2yyYcrwFhqPQROd+Vvcff0SP5 kBudTll0LEss5xKl3hP3thqQ7bVYNhux6afhysxDUmgEKYkHoWeJqf45ziD3hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d2nNc5BVzzlFn; Fri, 07 Nov 2025 05:16:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5A75GmWb092410; Fri, 7 Nov 2025 05:16:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A75GmSr092407; Fri, 7 Nov 2025 05:16:48 GMT (envelope-from git) Date: Fri, 7 Nov 2025 05:16:48 GMT Message-Id: <202511070516.5A75GmSr092407@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 776626f09e59 - releng/15.0 - dumpon(8): Add a SYSCTL VARIABLES section List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/releng/15.0 X-Git-Reftype: branch X-Git-Commit: 776626f09e594c2846de222e399f27b8a7c5601d Auto-Submitted: auto-generated The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=776626f09e594c2846de222e399f27b8a7c5601d commit 776626f09e594c2846de222e399f27b8a7c5601d Author: Felix Johnson AuthorDate: 2025-11-06 16:32:42 +0000 Commit: Colin Percival CommitDate: 2025-11-07 04:19:30 +0000 dumpon(8): Add a SYSCTL VARIABLES section Document debug.minidump and machdep.dump_retry_count sysctl variables. Approved by: re (cperciva) PR: 259393 MFC after: 3 seconds Reviewed by: gbe (previous), markj, ziaee Differential Revision: https://reviews.freebsd.org/D32618 (cherry picked from commit 850841edf6c0867a170d2637f3dacfda33d5f3dd) (cherry picked from commit 2608020ac8c3fe583eeaa782e99061ef54b80a0c) --- sbin/dumpon/dumpon.8 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sbin/dumpon/dumpon.8 b/sbin/dumpon/dumpon.8 index a57dfef7096d..f2082a58851d 100644 --- a/sbin/dumpon/dumpon.8 +++ b/sbin/dumpon/dumpon.8 @@ -228,6 +228,20 @@ total amount of physical memory as reported by the .Va hw.physmem .Xr sysctl 8 variable. +.Sh SYSCTL VARIABLES +The following +.Xr sysctl 8 +variables can be used to modify or monitor the behavior of crash dumps: +.Bl -tag -width "machdep.dump_retry_count" +.It Va debug.minidump +Set the type of kernel crash dump. +Possible values are 0 for a full crash dump or 1 for a minidump. +The default is minidump. +.It Va machdep.dump_retry_count +The maximum number of times dump will retry before giving up. +The default value is 5. +This sysctl is only supported on PowerPC and AMD64. +.El .Sh IMPLEMENTATION NOTES Because the file system layer is already dead by the time a crash dump is taken, it is not possible to send crash dumps directly to a file. @@ -377,6 +391,7 @@ needed. .Xr loader 8 , .Xr rc 8 , .Xr savecore 8 , +.Xr sysctl 8 , .Xr swapon 8 , .Xr panic 9 .Sh HISTORY