From nobody Sat Jan 31 20:44:07 2026 X-Original-To: freebsd-hackers@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 4f3PxZ2wsKz6QQGF for ; Sat, 31 Jan 2026 20:44:18 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-h2p-567039.sys.comcast.net (resqmta-h2p-567039.sys.comcast.net [IPv6:2001:558:fd02:2446::9]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4f3PxY1XQZz3HgJ for ; Sat, 31 Jan 2026 20:44:17 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcast.net header.s=20190202a header.b="Efey/UtL"; dmarc=pass (policy=reject) header.from=comcast.net; spf=pass (mx1.freebsd.org: domain of kargls@comcast.net designates 2001:558:fd02:2446::9 as permitted sender) smtp.mailfrom=kargls@comcast.net Received: from resomta-h2p-554997.sys.comcast.net ([96.102.179.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567039.sys.comcast.net with ESMTPS id mGnmvLJSjO2mzmHpBvtDai; Sat, 31 Jan 2026 20:44:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1769892249; bh=V4w0v9mrS/X5e38sdmil5jip15ka2j6BrM+8JpvHn4Q=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=Efey/UtLlH4TaPEV1aTupUkO3ug7XFWgPLt98hPKAwuhqtA+6Vq8QhspM8nHvkBSB YO3gg1KXCXMFKr4h7qoHtQAnuehrJibcptaFOlkYxVfaTfYWBfhQ2L0qRKHhEotyIS qshrnRyEMqAAByU5elHcb0Pv9DKCPjEgZUoZ+8uaCuOBwWjQ2fmNvhN/TB+2Ux3qJO L6UbullUxMHYJ41wpCupkWmTKaO6BzEuCBSUrxxYlSfWlYvCoqQBvyZkjX//7UTl7e ovfKO1BVmfiDkF59XWAIKkhmVtY+nOTx52vkQF/JGM74UhCCa4Dl2dAunq+y7TgYrm eRfeZ7mZDVWJw== Received: from [10.0.0.30] ([73.97.237.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-554997.sys.comcast.net with ESMTPSA id mHp9vEZKwdlNTmHpAvxQ42; Sat, 31 Jan 2026 20:44:09 +0000 Message-ID: Date: Sat, 31 Jan 2026 12:44:07 -0800 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Selecting the scheduler from boot menu To: freebsd-hackers@freebsd.org References: <20260131213515.58572069.28181704.47808128@dino.sk> Content-Language: en-US From: Steve Kargl In-Reply-To: <20260131213515.58572069.28181704.47808128@dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfITHL3WOEXUjGC9cAGhk0h9SvEG960Dr0r3tXpb70UoMcajt+mUMiKtErsCgbf1UyDBKDSK2ZY6mcWkiHbh7nO4sZv7Oq8yVvOiC3Ofero7QvrgwXsro Fd6QU6a2O1W3ElFzpv56Rz9/MCa+uci8Y4hgUfr4WjqGQMg+P2aomLlS/ak3wlxI1Pg1HwXDa9yDHw== X-Spamd-Result: default: False [-0.99 / 15.00]; HFILTER_HELO_5(3.00)[resqmta-h2p-567039.sys.comcast.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[comcast.net,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:558:fd02:2446::/64:c]; R_DKIM_ALLOW(-0.20)[comcast.net:s=20190202a]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[comcast.net]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[comcast.net]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[comcast.net:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[comcast.net:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; RCVD_IN_DNSWL_NONE(0.00)[96.102.179.209:received] X-Rspamd-Queue-Id: 4f3PxY1XQZz3HgJ X-Spamd-Bar: / On 1/31/26 12:35, Milan Obuch wrote: > On Sat, 31 Jan 2026 12:21:59 -0800 > Steve Kargl wrote: > >> All, >> >> Is it possible modify the boot menu to select 4BSD or ULE >> during the boot process? I've looked at the code in >> src/stand/forth, but unfortunately the language is foreign >> to me. Currently, one boots into FreeBSD, checks the >> kern.sched.name, and then may need to edit /boot/loader.conf >> to change to the other scheduler, and then reboot. >> > > Which version are you working on? I think something recent, maybe > 16-CURRENT. Loader was rewritten in lua some time ago. I'm looking at src/stand/forth, particular, menu-commands.4th. If the boot menu is written in lua, it's still a foreign language to me. So, I would need some guidance on how to hack the menu up. Yes, it is a convenience to have menu item. Dropping to the loader prompt is possible. Taking it to a logical extreme, let's retire the menu because everything can be set at the loader prompt. -- steve