Date: Fri, 7 Nov 2025 05:16:48 GMT From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 776626f09e59 - releng/15.0 - dumpon(8): Add a SYSCTL VARIABLES section Message-ID: <202511070516.5A75GmSr092407@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=776626f09e594c2846de222e399f27b8a7c5601d commit 776626f09e594c2846de222e399f27b8a7c5601d Author: Felix Johnson <felix.the.red@gmail.com> AuthorDate: 2025-11-06 16:32:42 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> 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 HISTORYhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511070516.5A75GmSr092407>
