Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 17:20:52 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Increasing the DMESG buffer....
Message-ID:  <20121125165737.V21191@sola.nimnet.asn.au>
In-Reply-To: <1ab82c79bc6d72fdaa90e7ed0c794f5f@mail.0x20.net>
References:  <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <op.wn4141f88527sy@212-182-167-131.ip.telfort.nl> <CAJ-VmomREO6uj_izmD%2Bp90cFn=AQcz7UbZNkX8PVnU5mG_8ufQ@mail.gmail.com> <20121122144400.M21191@sola.nimnet.asn.au> <CAJ-Vmonk2RS=FwpgVHpeuFF5jf%2BSjE2Hv8kOFBrDCkv-=hTYSg@mail.gmail.com> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <CAJ-Vmo=UOTu0KG6yHjZ_gBB4HGSGNJOAhn3HT-8gNsh_=ih7Yg@mail.gmail.com> <CAN6yY1v1AdhgqQfONbDAEueU2wnFZDO8GvegRzq10y0yoj8kDg@mail.gmail.com> <20121122224906.GE88593@in-addr.com> <CAN6yY1sK3U=18ovFYPAViuMxTDCm2qZ-msLmM7Zgymx=u6ga4w@mail.gmail.com> <20121123150719.M21191@sola.nimnet.asn.au> <1ab82c79bc6d72fdaa90e7ed0c794f5f@mail.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Nov 2012 11:33:21 +0100, Lars Engels wrote:
 > Am 23.11.2012 05:50, schrieb Ian Smith:
 > > On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote:
[..]
 > >  > >> Also, isn't the entire verbose boot captured in /var/run/dmesg?
 > >  > >
 > >  > > Only if the message buffer hasn't overflowed before the utility runs
 > > to
 > >  > > populate the file
 > >  >
 > >  > Ouch! I did miss hte obvious. Thanks for pointing this out.
 > > 
 > > I've noticed quite a few truncated verbose dmesgs posted over the last
 > > couple of years, sometimes frustratingly starting after important stuff
 > > like the CPU info or ACPI tables etc .. Lars presumably had increased
 > > his buffer size to capture 85k, which would be well less than Adrian's
 > > suggested 64k with more minimal hda + pcm logging.  Perhaps a debug.snd.
 > > or something tunable could reenable the higher verbosity if/when needed?
 > 
 > 
 > No, I was creating the dmesg on a vanilla FreeBSD 10-CURRENT kernel and the
 > other one on PC-BSD 9.1-RCsomething.

Well that's interesting, excuse my assumption.  But as downloaded:
-rw-r--r--  1 smithi  smithi     82415 Nov 22 14:08 T61_dmesg.boot.10.works

So is the default msgbufsize on 10 different to what mav@ just posted?

 > kern.msgbufsize="65536" # Set size of kernel message buffer

And if the PC-BSD 9.1-RCsomething one you refer to is:
http://bsd-geek.de/FreeBSD/T61_dmesg.boot.9.works

then that's only 37844 bytes and has most of its head missing, in fact 
starting only a screenful before the hda stuff that's most of the rest.

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121125165737.V21191>