From owner-freebsd-geom@FreeBSD.ORG Wed Nov 1 18:29:08 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA1D616A412 for ; Wed, 1 Nov 2006 18:29:08 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCCDA43D7E for ; Wed, 1 Nov 2006 18:29:01 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (3bjjjhv2m1i4xq2c@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id kA1IT0mv092368; Wed, 1 Nov 2006 10:29:00 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id kA1IT0xK092367; Wed, 1 Nov 2006 10:29:00 -0800 (PST) (envelope-from jmg) Date: Wed, 1 Nov 2006 10:29:00 -0800 From: John-Mark Gurney To: "Rick C. Petty" Message-ID: <20061101182859.GH25511@funkthat.com> Mail-Followup-To: "Rick C. Petty" , freebsd-geom@freebsd.org References: <20061031195442.GA55478@keira.kiwi-computer.com> <4547AD9B.5050503@centtech.com> <20061031204659.GA56766@keira.kiwi-computer.com> <20061031205857.GA15861@garage.freebsd.pl> <20061031215241.GA57997@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061031215241.GA57997@keira.kiwi-computer.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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 Cc: freebsd-geom@freebsd.org Subject: Re: burnt again by gmirror X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 18:29:08 -0000 Rick C. Petty wrote this message on Tue, Oct 31, 2006 at 15:52 -0600: > I wish either fsck was less noisy or that the kernel would take a > snapshot of the msgbuf right before starting init, so only the kernel > messages would get copied into /var/run/ when the rc scripts do their > thing... This is a bug IMO that console messages get added to the dmesg buffer.. This was changed in 4.3. dmesg sees what messages are console messages and skips over them. If you provide the -a option to dmesg, you get what was dumped to the console: -a Show all data in the message buffer. This includes any syslog records and /dev/console output. W/o this bug/feature, we'd never have to worry about /dev/console messages overflowing the kernel messages, which is a lot more common than kernel messages overflowing before rc scripts run and hit saving dmesg. In 6.2 and HEAD, I've doubled the kernel message buffer to 64k for i386, so it's less likely to overflow. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."