Date: Thu, 21 Sep 2023 16:38:47 +0200 From: Ede Wolf <listac@nebelschwaden.de> To: Freebsd-questions@freebsd.org Subject: Re: Capturing Boot Messages? Message-ID: <d30e8c6d-beb9-4d13-97f5-2a76520dbbb6@nebelschwaden.de> In-Reply-To: <2FF738A7-8F20-469B-92BE-65525C95D770@nimnet.asn.au> References: <26de1d95-abff-465d-b25c-1b2465e80342@nebelschwaden.de> <f4bea8f9-da21-4e54-9974-aebc01367dbe@aetern.org> <0b80148a-3feb-43b8-8358-cc048be8f32e@nebelschwaden.de> <2FF738A7-8F20-469B-92BE-65525C95D770@nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 21.09.23 um 10:53 schrieb Ian Smith: > On 21 September 2023 5:53:55 am AEST, Ede Wolf <listac@nebelschwaden.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d30e8c6d-beb9-4d13-97f5-2a76520dbbb6>