Date: Thu, 21 Sep 2023 18:53:22 +1000 From: Ian Smith <smithi@nimnet.asn.au> To: Ede Wolf <listac@nebelschwaden.de>,Yuri <yuri@aetern.org> Cc: questions@freebsd.org Subject: Re: Capturing Boot Messages? Message-ID: <2FF738A7-8F20-469B-92BE-65525C95D770@nimnet.asn.au> In-Reply-To: <0b80148a-3feb-43b8-8358-cc048be8f32e@nebelschwaden.de> References: <26de1d95-abff-465d-b25c-1b2465e80342@nebelschwaden.de> <f4bea8f9-da21-4e54-9974-aebc01367dbe@aetern.org> <0b80148a-3feb-43b8-8358-cc048be8f32e@nebelschwaden.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FF738A7-8F20-469B-92BE-65525C95D770>
