From nobody Thu Sep 21 14:38:47 2023 X-Original-To: freebsd-questions@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 4RryhM2hjdz4tVPN for ; Thu, 21 Sep 2023 14:38:59 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Received: from mail.worldserver.net (mail.worldserver.net [217.13.200.36]) (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 (2048 bits) client-digest SHA256) (Client CN "*.worldserver.net", Issuer "EuropeanSSL Server CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RryhK4Xdfz4Dyx for ; Thu, 21 Sep 2023 14:38:56 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nebelschwaden.de header.s=1687803001 header.b=tKZppLrI; spf=pass (mx1.freebsd.org: domain of listac@nebelschwaden.de designates 217.13.200.36 as permitted sender) smtp.mailfrom=listac@nebelschwaden.de; dmarc=none Received: from postpony.nebelschwaden.de (v22018114346177759.hotsrv.de [194.55.14.20]) (Authenticated sender: sendmail@nebelschwaden.de) by mail.worldserver.net (Postfix) with ESMTPSA id 7DD161E0B21 for ; Thu, 21 Sep 2023 16:38:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nebelschwaden.de; s=1687803001; t=1695307129; bh=pqgNUqklWu0dsVKai2NFZ0POOia05OOvwDFqkeZkaVI=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To:From; b=tKZppLrIWEKtCaL2yOGMXW2RKv5TnDRlA+EcuHjkMY2lUBNhcdttaUMqzCNTG6NgU E5tWgnBq68bkk9GFZIzmY/pXUK4qt14d5z1fYBHI1hzfzUPBSVKoG/18dXbbsy0QfI Iy6xyFlQx7rVERdz5wmAgxroUaVyLopjVMdXkru5YQnNu+0JNCBAo28XjBFuHLX804 hlA3gn5nsBDxygGOHCwcWC3qiG5juPITbVcq1t9kbc1qbT7+qaT7e3G6jLa3lS7cox CIPhHN3hqjfTkL/HEghVG0XlvYWH9enf7h1WS2yrWlPz1+c/NHyADNIUtUXyeJUCCf DyHUIyhvsp3/g== Received: from [172.16.37.5] (kaperfahrt.nebelschwaden.de [172.16.37.5]) by postpony.nebelschwaden.de (Postfix) with ESMTP id 262E4113468 for ; Thu, 21 Sep 2023 16:38:47 +0200 (CEST) Message-ID: Date: Thu, 21 Sep 2023 16:38:47 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: listac@nebelschwaden.de Subject: Re: Capturing Boot Messages? To: Freebsd-questions@freebsd.org References: <26de1d95-abff-465d-b25c-1b2465e80342@nebelschwaden.de> <0b80148a-3feb-43b8-8358-cc048be8f32e@nebelschwaden.de> <2FF738A7-8F20-469B-92BE-65525C95D770@nimnet.asn.au> Content-Language: en-US From: Ede Wolf In-Reply-To: <2FF738A7-8F20-469B-92BE-65525C95D770@nimnet.asn.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.58 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+ip4:217.13.200.0/24]; R_DKIM_ALLOW(-0.20)[nebelschwaden.de:s=1687803001]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[217.13.200.36:from]; XM_UA_NO_VERSION(0.01)[]; DMARC_NA(0.00)[nebelschwaden.de]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[listac@nebelschwaden.de]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[Freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[nebelschwaden.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15657, ipnet:217.13.192.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RryhK4Xdfz4Dyx Am 21.09.23 um 10:53 schrieb Ian Smith: > On 21 September 2023 5:53:55 am AEST, Ede Wolf wrote: > > Am 20.09.23 um 20:44 schrieb Yuri: > > > Ede Wolf wrote: > > >> Hello, > > >> > > >> I am seeing boot messages on screen, errors from rc.conf, that I have > > >> yet to find in any log. Neither dmesg, nor /var/run/dmesg.boot nor > > >> in /var/log/messages. > > >> > > >> Any chance to reread the full boot process somewhere or to set up > > >> full boot logging? > > > > Tried `dmesg -a`? > > > No, shame on me, did not remotely think about dmesg may having any > > options - therefore never been diving into the manpage. That's the > > solution, I've found my messages! > > > > Thanks very much > > Further ... log hoarders can add to /boot/loader.conf: > > boot_verbose="YES" # always boot -v from loader > verbose_loading="YES" # detailed module loading > kern.msgbufsize=98304 # X200 @ 9.3S > > /var/run/dmesg.boot can be >4 times its non-verbose size, so you might need to enlarge the buffer to keep it all ... check size of (verbose) dmesg.boot after boot and allow maybe +20%. Perhaps ~150kB by now? > > Apart from dmesg, it all (and more) goes into /var/log/messages, so newsyslog.conf needs tweaking if you always boot verbosely, where a boot might use ~200kiB in messages. > > cheers, Ian Hello Ian, thanks very much, those are further excellent suggestions! Highly appreciated. Quite a lot of useful basic, but rather new stuff for me, I've learned. Thanks to all again. Ede