From nobody Sat Aug 8 17:56:40 2026 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 4hHTGx2pKlz6p1Px for ; Sat, 08 Aug 2026 17:56:41 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hHTGx0bn9z44wJ for ; Sat, 08 Aug 2026 17:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786211801; 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=C7HW34NO3ctJndIBLIIL/0F2UKFV3QYnXlIhv6wGSyY=; b=BoxserdD8jRuHobOer+ah7UeNRCYSwNbHrSJ+2taXHNH7EuRP/Qr+sjs8ltJkDQfpBjTEb Tinydw7QKiWf9g3kDsC97CXTeBLmIg7+ljLAxZMxFFYcL1BfbKNJ1IHIBPMqich25LJMjm B61IKA7KKwWbWuvM26qKXSLjg//wFUuHYk8XsYoKQLEI15T0HW5T65RW4C0G2eXrPMuus9 o1Ev+0MUGL8OnDIVYeaqMk55uL60MnU5XU9Ug2j4DOkfPXljSEnnGXYCyVW/liUReQIc46 rgcahd/Fbv/RIEeeSrve6fiz67v1inzNxC5o/yeg7kwRQbXuwVV4je6iautddA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786211801; a=rsa-sha256; cv=none; b=PJtmrGHyF3tEeeocmInWyvIE5Ucmhg1AkLixp/DwNae/VWSAWrhAJwMl7WBigBy8Tw08Tm hP4tRC5GW7hlN4fyi77/oaDuOGsXTBCsedLnsvWd078gkQFc2bjDF3gIU3LQS0nJYW2y3t J7HwYI9DIhD1FwwGq0L7XK1aMfao98UP7IC7rBg/y2hkUx7PjmGfEOOfwJjvEL7bzKbdq7 NuEOVVDrvN2P9hGm7+JuUdGW3vYn3MUlYoQ+zH9ox+NWNZnuwZ0gL1xKoXOWbuT0W0WAII libZTGOqZaI7ScAks6JdeBuIFSWD44bkxcnAvEJuw3AX8iLBvuFht9LwR0a6vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786211801; 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=C7HW34NO3ctJndIBLIIL/0F2UKFV3QYnXlIhv6wGSyY=; b=MINjKBlU+L7wOZGbQhOFGK745SYoSDDSl4vUN1pXxM/tpUhMM/BxVw9ZcTV4IOp+AW47Fw x50pZS2CWUol9kpftJHZNmtYuZu2HsI56Umvs0zQ3fVTkBZUefFoU07BE1OklUiBB+Zrf5 g3eNA73LSzwqz3HnNz21HfoNsDxQf+rYM6I4QGR90m5yZygasGWEfRNvKq/Ro7cTyM886V dCCihzHbUPhzhm4htQcFEv49pXHUP8iazZC6P+t10u4zq2qzm0VF017UyrqexxBVrSo14b txBV96SCOeRNZO1/4BLYvL3tiYoIuKd8emwLPsS7AonhLzEsUVAEh8C8kybe+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hHTGw6MNZznXp for ; Sat, 08 Aug 2026 17:56:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3df35 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 08 Aug 2026 17:56:40 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ahmad Khalifa Subject: git: 192a5eeab8d1 - stable/15 - vfs_mountroot: unmute console in interactive prompt 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vexeduxr X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 192a5eeab8d1d9a55b1eb37d08aa26fdf7f486ec Auto-Submitted: auto-generated Date: Sat, 08 Aug 2026 17:56:40 +0000 Message-Id: <6a776dd8.3df35.110298d@gitrepo.freebsd.org> The branch stable/15 has been updated by vexeduxr: URL: https://cgit.FreeBSD.org/src/commit/?id=192a5eeab8d1d9a55b1eb37d08aa26fdf7f486ec commit 192a5eeab8d1d9a55b1eb37d08aa26fdf7f486ec Author: Ahmad Khalifa AuthorDate: 2026-08-01 09:26:44 +0000 Commit: Ahmad Khalifa CommitDate: 2026-08-08 17:52:15 +0000 vfs_mountroot: unmute console in interactive prompt If boot_mute is set the system appears to hang during the mountroot prompt. Temporarily unmute the console so the prompt is visible. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D58549 (cherry picked from commit e96f1cbd690e68594fc8812de634f43c6711aa97) --- sys/kern/vfs_mountroot.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c index e0d1cec5bd71..4b711b7fb861 100644 --- a/sys/kern/vfs_mountroot.c +++ b/sys/kern/vfs_mountroot.c @@ -520,10 +520,14 @@ parse_dir_ask(char **conf) { char name[80]; char *mnt; - int error; + int error, cn_mute_save; vfs_mountroot_wait(); + /* Make sure the prompt is visible. */ + cn_mute_save = cn_mute; + cn_mute = 0; + printf("\nLoader variables:\n"); parse_dir_ask_printenv("vfs.root.mountfrom"); parse_dir_ask_printenv("vfs.root.mountfrom.options"); @@ -564,6 +568,7 @@ parse_dir_ask(char **conf) printf("Invalid file system specification.\n"); } while (error != 0); + cn_mute = cn_mute_save; return (error); }