From owner-freebsd-stable@FreeBSD.ORG Wed Feb 20 17:56:35 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C814516A409 for ; Wed, 20 Feb 2008 17:56:35 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1201513C4DB for ; Wed, 20 Feb 2008 17:56:34 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m1KHuVS3099746; Wed, 20 Feb 2008 18:56:31 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m1KHuVO4099745; Wed, 20 Feb 2008 18:56:31 +0100 (CET) (envelope-from olli) Date: Wed, 20 Feb 2008 18:56:31 +0100 (CET) Message-Id: <200802201756.m1KHuVO4099745@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, jhs@berklix.org In-Reply-To: <200802150009.m1F09IPr045943@fire.js.berklix.net> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 20 Feb 2008 18:56:32 +0100 (CET) Cc: Subject: Re: dmesg : no output on 1 of 2 7-stable boxes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 17:56:35 -0000 Julian H. Stacey wrote: > Oliver Fromme wrote: > > The dmesg buffer is a circular buffer containing both > > kernel output and console output. However, "dmesg" > > displays only the kernel output. If there was lots of > > console output, it filled all of the dmesg buffer, > > so "dmesg" displays nothing (all of the kernel output > > was overwritten by console output). "dmesg -a" will > > display everything, i.e. kernel + console output. > > Some of that description could usefuly be added to `man dmesg` ? I agree. > Might some commiter wnat to hack a few words in ? Or do we neeed > a formal send-pr (that a commiter would rephrase likely anyway, so > best skip the send-pr ? ). If you have the time, please submit a PR (docs category). I'll take care of it. You're a native English speaker. I am not. So chances are that I won't rephrase it, except for technical reasons. And even if I did rephrase it, it's still a good thing to have a PR, so the issue doesn't get lost and forgotten. > > > - I tried loader.conf kern.msgbuf=64000 > > > > I think it must be a multiple of the pages size, i,e, > > 4K = 4096 on FreeBSD/i386. I usually set it to 65536 > > or 131072. > [...] > Puzzled on syntax to set size in loader.conf ? Unfortunately it's a kernel constant, not a tunable. The only way to change it is via "options MSGBUF_SIZE=..." in your kernel config file, and rebuild the kernel. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Whatever happened to the days when hacking started at the cerebral cortex, and not at the keyboard?" -- Sid on userfriendly.org by Illiad, 2007-06-20