From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 16:21:40 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10B0DD6F for ; Sun, 30 Mar 2014 16:21:40 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C50C3E3F for ; Sun, 30 Mar 2014 16:21:39 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s2UGLJjr056099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Mar 2014 09:21:19 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s2UGLIgO056098; Sun, 30 Mar 2014 09:21:18 -0700 (PDT) (envelope-from jmg) Date: Sun, 30 Mar 2014 09:21:18 -0700 From: John-Mark Gurney To: Chris H Subject: Re: where's the full copy of dmesg(8)? Message-ID: <20140330162118.GN60889@funkthat.com> Mail-Followup-To: Chris H , Adam McDougall , freebsd-stable@freebsd.org References: <53378975.1000905@egr.msu.edu> <9da21869740371e51b0e684f493676ef.authenticated@ultimatedns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9da21869740371e51b0e684f493676ef.authenticated@ultimatedns.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 30 Mar 2014 09:21:19 -0700 (PDT) Cc: Adam McDougall , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 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, 30 Mar 2014 16:21:40 -0000 Chris H wrote this message on Sun, Mar 30, 2014 at 01:28 -0700: > Greetings, Adam, and thank you for your reply. > > On 03/29/2014 21:37, Chris H wrote: > >> Greetings, > >> I'm testing on 9.2-STABLE, and was experimenting on an AMD sempron > >> (140). Booting from the boot-only, or DVD-1 DVD's doesn't emit the > >> entire dmesg(8) output. Building, and installing a custom kernel also > >> didn't provide the full dmesg(8) output. > >> Specifically; it omits the top N lines (N = as yet, undetermined Number). > >> I have no idea why, or how to correct this. I'm pretty confident > >> the processor, and motherboard (MSI) are not too new for FreeBSD. > > > > I am almost certain you want to increase kern.msgbufsize at the boot > > loader before booting. > > > > % sysctl -d kern.msgbufsize > > kern.msgbufsize: Size of the kernel message buffer > > Interesting. Given that every system I run has (default) value of 65536. > Can you, or anyone suggest what the correct, of better value should be? > Or better, what the formula to determine that value is? I'm not finding > either of those answers in the man(1) pages, or the documentation. > > Thanks again, for your thoughtful reply. Well, you're booting w/ bootverbose set, which is why you're running out of dmesg space... choosing a default that doesn't waste memory is hard, because some systems have complicated PCI bus layouts and many devices, that you'd have to set it very large to be fine for all systems, and that would be a waste on 99% of them... If you do find a system where a normal (non-bootverbose) boot cannot fit in dmesg, let us know... Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."