From nobody Tue Oct 21 12:20:39 2025 X-Original-To: freebsd-current@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 4crWbl4FLrz6FNL6 for ; Tue, 21 Oct 2025 12:20:51 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Received: from mail.ketas.si.pri.ee (d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13e8:21e:bff:fea2:d004]) (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 4crWbk3nLzz4Gtb for ; Tue, 21 Oct 2025 12:20:49 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ketas.si.pri.ee header.s=ketas-si-pri-ee-20240416002854-4096 header.b=K0LezL8B; dmarc=pass (policy=reject) header.from=ketas.si.pri.ee; spf=pass (mx1.freebsd.org: domain of freebsd-current-freebsd-org111@ketas.si.pri.ee designates 2001:7d0:8437:13e8:21e:bff:fea2:d004 as permitted sender) smtp.mailfrom=freebsd-current-freebsd-org111@ketas.si.pri.ee X-Original-To: freebsd-current@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ketas.si.pri.ee; s=ketas-si-pri-ee-20240416002854-4096; t=1761049240; bh=QKSKeLjRIo935surK/GbOQMesz1oGaIYbhcvqEj/W3Y=; h=Date:From:To:Subject:In-Reply-To:References; b=K0LezL8BV/YW5pad1IiSUM3m2Ohoq+lq5cW08BjzuAT/rSgeWp6oljSjHkuhluH8P KjTAKrsxW7GgNzdBl/ZeFEVpdUst2pj7Tb4PsUorp6XvD/ivwDiCMUfbQ0mTetBSGU C4ThMGec1rZ3WqBnLcLT4jJXyukcsY8uaXuuvXqAF5CMhV9vpGG0jD5EBnAJAlTyi1 lYqfnLSl/Y9+aYUIzD90zkjUfH71DkegaD6Vwt323X6UsISKYoeqosz/5fJG1hV/rJ 4iMoXahtcgTP+Kkxb8IyRwgN2+6iFiSuThiLn9XifUhRBPICKVkGpLlcM3+Msm23h+ Ewd8davaJQXpjPeYIzQYt7K21L3gCZyibNv/yr/cXyryR2FYoF5Y/fQFk3J4TWvhbM o23ZqRFOeN/CsGV+IdgbkmT1/meYidqjuh6gG5p19osx8d9bEMGwnGulTt9Bdl6IVb buvlmBPfx820H7bJwqTv5Q+sYyxLP+yJLfmOpYQ50xhNMnvz8NeeFCGhnRJaYtBslF +vL9rxR++IHr5MOADQaYjkgBD+4NUpKNGJ6Uwv/AAOknzFZxGBQcmEdxzQl84esH3c eESxMbUWpGnnW9MAhNSCqoBwArFyY5OA5uuqMZtMuuiHRuaHU2R7yhVjf/j/VypJCP 2oR9TWZM6xgJvKPJdLYbG0LI= Received: from ehlo.thunderbird.net (0115-0000-0000-0000-13c8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13c8::115]) (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) (No client certificate requested) by mail.ketas.si.pri.ee (Postfix) with ESMTPSA id 114A15BBD17 for ; Tue, 21 Oct 2025 15:20:40 +0300 (EEST) Date: Tue, 21 Oct 2025 15:20:39 +0300 From: Sulev-Madis Silber To: freebsd-current@freebsd.org Subject: Re: text buffer size in boot User-Agent: K-9 Mail for Android In-Reply-To: <696264F7-5182-421A-8511-9B3AE250F861@ketas.si.pri.ee> References: <696264F7-5182-421A-8511-9B3AE250F861@ketas.si.pri.ee> Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Spamd-Result: default: False [-0.80 / 15.00]; HFILTER_HOSTNAME_5(3.00)[d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[ketas.si.pri.ee,reject]; R_DKIM_ALLOW(-0.20)[ketas.si.pri.ee:s=ketas-si-pri-ee-20240416002854-4096]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:7d0:8437:1300::/56]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ketas.si.pri.ee:+] X-Rspamd-Queue-Id: 4crWbk3nLzz4Gtb or maybe it is current issue after all=2E or fix or workaround that can be = added basically i thought what if i add: ---------------------------------------------------------------------- --- /root/files/fbsd/current/src/libexec/rc/rc 2025-07-15 11:59:53=2E7198= 93000 +0300 +++ rc 2025-10-21 12:50:29=2E281862000 +0300 @@ -149,4 +149,5 @@ echo '' date +sleep 10 exit 0 ---------------------------------------------------------------------- this fully fixed everything=2E seems like i don't need full 10s, but <1s= =2E eg too fast for human to notice it seems like something is writing text in 4kb chunks and i'm assuming ser= ial isn't taking data that fast=2E then maybe init goes multiuser and data = in buffer is lost i recall tests of fbsd being able to boot really fast in some vm platforms= =2E or maybe things there never wrote more than 4kb out i actually never tested what if init happens really fast=2E but usually it= doesn't, and it actually starts things up slowly one at time=2E i vaguely = recall that init can also do parallel launch i'm wondering if this is also happening on other console types, including = bios and efi, but it's never a problem since they output text short and slo= w then comes my initscript and blasts ~600 bytes out fast, doesn't wait, exi= ts, and it expects it all to reach console but apparently init (?) has problems here again, it's all there if system is booted up and syslog has recorded boot = log (i have all=2Elog as well as console=2Elog configured)=2E it only affec= ts whatever physical console there is so is this a bug that only affects some hw?