From owner-freebsd-stable@FreeBSD.ORG Sun Nov 25 11:09:30 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BD6FB72 for ; Sun, 25 Nov 2012 11:09:30 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id BCCEF8FC12 for ; Sun, 25 Nov 2012 11:09:29 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 0C0766A6003; Sun, 25 Nov 2012 12:09:28 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.5/8.14.5) with ESMTP id qAPB9RP1011036; Sun, 25 Nov 2012 12:09:27 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.5/8.14.5/Submit) id qAPB9R4v009786; Sun, 25 Nov 2012 12:09:27 +0100 (CET) (envelope-from lars) Date: Sun, 25 Nov 2012 12:09:26 +0100 From: Lars Engels To: Ian Smith Subject: Re: Increasing the DMESG buffer.... Message-ID: <20121125110926.GY96846@e-new.0x20.net> References: <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> <20121123150719.M21191@sola.nimnet.asn.au> <1ab82c79bc6d72fdaa90e7ed0c794f5f@mail.0x20.net> <20121125165737.V21191@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p1CTWWYPX4x7uy/s" Content-Disposition: inline In-Reply-To: <20121125165737.V21191@sola.nimnet.asn.au> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.3-RELEASE-p4 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 11:09:30 -0000 --p1CTWWYPX4x7uy/s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 25, 2012 at 05:20:52PM +1100, Ian Smith wrote: > 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. > > >=20 > > > I've noticed quite a few truncated verbose dmesgs posted over the la= st > > > couple of years, sometimes frustratingly starting after important st= uff > > > 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 nee= ded? > >=20 > >=20 > > No, I was creating the dmesg on a vanilla FreeBSD 10-CURRENT kernel an= d the > > other one on PC-BSD 9.1-RCsomething. >=20 > 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.wor= ks >=20 > So is the default msgbufsize on 10 different to what mav@ just posted? >=20 > > kern.msgbufsize=3D"65536" # Set size of kernel message buffer >=20 > And if the PC-BSD 9.1-RCsomething one you refer to is: > http://bsd-geek.de/FreeBSD/T61_dmesg.boot.9.works >=20 > then that's only 37844 bytes and has most of its head missing, in fact=20 > starting only a screenful before the hda stuff that's most of the rest. IIRC I just uploaded /var/run/dmesg.boot --p1CTWWYPX4x7uy/s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCx/GYACgkQKc512sD3afibAwCffQTMwjdtrBNgdryRSTtQBh6l oUYAoKiESnMPTv08ttqCie8wnB+0yOHl =9QMK -----END PGP SIGNATURE----- --p1CTWWYPX4x7uy/s--