From nobody Mon Jun 22 23:07:46 2026 X-Original-To: dev-commits-src-main@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 4gkkPt4LXwz6jDkc for ; Mon, 22 Jun 2026 23:08:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gkkPr6b1kz3YGD for ; Mon, 22 Jun 2026 23:08:00 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.42 as permitted sender) smtp.mailfrom=asomers@gmail.com; arc=pass ("google.com:s=arc-20240605:i=1") Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-697ad7f663cso2663664a12.1 for ; Mon, 22 Jun 2026 16:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782169679; cv=none; d=google.com; s=arc-20240605; b=DuZKGsL8is2LzM4xsYhwJpjsF5u7g5G0pW3WZ2VpAG8SWN3ZZyor59yKr56Y2DF5vz gm4J/8tjPKiU8BcybYdYt5RsgQoiFZ1rlepJXa69bDxoqNZtFzRXyUQrQ5C3+WJD0wWd yV+BXBp9wj4agPiG34L4JSBzcVueEnyMLxo+h7VTkQl2pcD8gLFMqm5QSOYRanUhWead CGhl44N1oUtrATVU+AVlWn1M7ediLjLZFh4nI6Z8hvHJ/yGIP5aN0GusCSjKAY/zMj3a v35EgNqzRRaqIXdoA2oQVYtJ2OgHQXFuLCKKs0YVF5kF6gX+gRNsfef5WD6hHYeUL5gN e8ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=MHCbV4MOUkvXCFgGltq6eTjuisH1Sor4ognzP7pWlXQ=; fh=IC1uoj87l517lEhnXaZtWn1n9/7D5XsjvYrJo2GQQAs=; b=bEcg5OhoHf2NTqYeBDEJDjZhtWOuD+AfGNaEu7JRNzBtg5W9Cc5PViiKcp5q0HHNN5 gO2e2206NpY45KE4wNfb2UlrKTtEXePnJyWYzke7c2C6kbGINHCUr4FJa+4lg16xiSgE L4GEPT0zVL9EsMmnQOFYfpDwmrXBthHATlguKxkIfQd98DYjIdjjKhxaXDPVb0ieMsn1 PbLSS8hSRG3qcThsi/6pyLmIoZBpGrGJd5GnL09x49EQ8SkuEtDoD1JLO9p73lqppYUO TVxxXb+U86byVI8uLdXWy1D10NilCVoZgQ3BnUKtgXq3OLUpKmHV05n1D2fELXX1roUz IUDA==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782169679; x=1782774479; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MHCbV4MOUkvXCFgGltq6eTjuisH1Sor4ognzP7pWlXQ=; b=eDKJQrW6ZAFDkiRD25tDgxR9fDCg3kjElBA3aghnHvzcvTwEu+xNEaTMGAq42HXNbh wUWsmlR8LlswZsUZQOPntwPvkwpxz0aezMkR0YGmBqQHJqXjJ0/AkYD/ASkJ4a8SlCvs 3zGuLyquGgeEL+TVbN40woNOr87PA+GCt5ksyQfg4u5sgDb2RtqPSEG9Mcfe6zPpas0l 7Jyj1+iS3h0W6/xsxbO/03A2r0HcnhFtFmL2uNz5ONq3EI/Y9MEyqT20u3SZS9N403OA G7HEzHXJf0PCopJBTjRv3lRrgWzW5fBbB/YSrVGbqydIJ3D7L8BOWH7thJhpSRDWwP8L 8q3A== X-Forwarded-Encrypted: i=1; AFNElJ9ooztGex1mH67L1Jw+inFz/yjFq8LePiPffC1BWXcgI8BZvQ5sDem1886QSO3Sz2xpiJ7VFucE/1om2ron0rBEYlGFOQ==@freebsd.org X-Gm-Message-State: AOJu0Yx6OG4ZImxr+ojevI1JPq8oQJ5telELtD+H6HJZEXHLU/2NWdNW oSqhoHrSDEpc67tPG9pEUKvu6wwytGFkQhkhiQ+7Ot6owXPKVLWu+Z7c23XPe5fI1213Iq1CStu wUWRWS+NgysLa+tKuEu22Ah+fulhdAKqpUnS2uQk= X-Gm-Gg: AfdE7cmlV8YuAdcMRIVmcQ1eZnw2fDXcqwlmF8DHPRDYlyUF5fflpW9slilHV7q3+Dg 2lHzQPyp4hioygg5wi0Wu/A5J1VXWS2L5JeEI+n5WUMi0VeiaFBX4W8/DvWAoglSOE1sGzMEix4 OqgTewdtdr44RIu1Vx35QV4tYOEjdql2NfpSkNsFeY6v43j26GRd9wBKmeecmE8fOK8MeNj4Ji9 QRtCmSCOG5l4manUTVAkXdfe3oiMB+oH8/t5lJrE08W3U0QTY4nmJJLXi4baM4Uc2vhAQF6hhsq a917X94snOO/HT2fRXneSKW8RlOlHbhmwxTmDCGk+uoYOQEvxr8yHT4Q2Q== X-Received: by 2002:a05:6402:42c4:b0:687:7fc4:1ea5 with SMTP id 4fb4d7f45d1cf-697dbb654bfmr70773a12.23.1782169679174; Mon, 22 Jun 2026 16:07:59 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <6a33714c.187fe.20ec4acc@gitrepo.freebsd.org> In-Reply-To: <6a33714c.187fe.20ec4acc@gitrepo.freebsd.org> From: Alan Somers Date: Mon, 22 Jun 2026 17:07:46 -0600 X-Gm-Features: AVVi8Cdz1vsTTb1BQDU3mJRZOleCA0cfFqRfCQ5ZIQOY1iD5Hdy9OOjx7S-l4go Message-ID: Subject: Re: git: 08180f1b613b - main - witness: actually set read-only tunables in time for witness_startup To: Ryan Libby Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.86 / 15.00]; ARC_ALLOW(-1.00)[google.com:s=arc-20240605:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.96)[-0.965]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEFALL_USER(0.00)[asomers]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.42:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.42:from]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; RCPT_COUNT_THREE(0.00)[4] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4gkkPr6b1kz3YGD On Wed, Jun 17, 2026 at 10:18=E2=80=AFPM Ryan Libby wr= ote: > > The branch main has been updated by rlibby: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D08180f1b613b6fe000135efa28= b7c3293cbf1683 > > commit 08180f1b613b6fe000135efa28b7c3293cbf1683 > Author: Ryan Libby > AuthorDate: 2026-06-18 03:52:53 +0000 > Commit: Ryan Libby > CommitDate: 2026-06-18 04:05:43 +0000 > > witness: actually set read-only tunables in time for witness_startup > > SYSCTL_XXX with CTLFLAG_RDTUN and without CTLFLAG_NOFETCH should not = be > used for values that are needed before SI_SUB_KLD. Otherwise they ar= e > tuned after they are needed. Set CTLFLAG_RDTUN | CTLFLAG_NOFETCH for > the debug.witness.witness_count and debug.witness.skipspin sysctls an= d > add separate tunables for them, which run at SI_SUB_TUNABLES time, i.= e., > in time for witness_startup. > > Reviewed by: kib, markj > Sponsored by: Dell Inc. > Differential Revision: https://reviews.freebsd.org/D57613 My dev VM instapanics on boot, and I've bisected it to this change. Apparently it doesn't affect everybody, or it would've been reported already. So I'm not asking you to revert it. But could you please take a look at the problem? Stack trace: ---<>--- Copyright (c) 1992-2026 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 16.0-CURRENT #25 n286717-a9e12d3ec8bd: Mon Jun 22 16:50:06 MDT 2026 somers@fbsd-head.lauralan.noip.me:/usr/obj/usr/home/somers/src/freebsd.= org/src/main/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 21.1.8 (https://github.com/llvm/llvm-project.git llvmorg-21.1.8-0-g2078da43e25a) WARNING: WITNESS option enabled, expect reduced performance. SRAT: Ignoring memory at addr 0xff000000 panic: physical address 0x4af918000 not covered by the DMAP cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x36/frame 0xffffffff8293b= d60 vpanic() at vpanic+0x149/frame 0xffffffff8293be90 panic() at panic+0x43/frame 0xffffffff8293bef0 pmap_map() at pmap_map+0x2c/frame 0xffffffff8293bf00 vm_page_startup() at vm_page_startup+0x71c/frame 0xffffffff8293bf90 vm_mem_init() at vm_mem_init+0x1a/frame 0xffffffff8293bfa0 mi_startup() at mi_startup+0x1ed/frame 0xffffffff8293bff0 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x33: movq $0,0x15ad202(%rip) /boot/loader.conf contents: kern.boottrace.enabled=3D1 debug.kasan.panic_on_violation=3D0 debug.kmsan.panic_on_violation=3D0 debug.witness.witness_count=3D49152