From owner-freebsd-arch@FreeBSD.ORG Mon Aug 28 20:49:29 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D60916A4DF for ; Mon, 28 Aug 2006 20:49:29 +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 A8BF343DAB for ; Mon, 28 Aug 2006 20:49:09 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (kjxi0oarywzqthid@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k7SKn9dt013850 for ; Mon, 28 Aug 2006 13:49:09 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k7SKn8GO013849 for freebsd-arch@FreeBSD.org; Mon, 28 Aug 2006 13:49:08 -0700 (PDT) (envelope-from jmg) Date: Mon, 28 Aug 2006 13:49:08 -0700 From: John-Mark Gurney To: freebsd-arch@FreeBSD.org Message-ID: <20060828204908.GI37035@funkthat.com> Mail-Followup-To: freebsd-arch@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Subject: msgbuf default size... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 20:49:29 -0000 Well, today w/ PCIe around the corner (or in some cases already here), and some relatively complex PCI debug output, normal dmesg when booted -v is now well over the default of 32k meaning that basic info such as memory size and processor type are no longer stored in /var/run/dmesg.boot if booted -v... Already amd64 has acknoledged the issue and defaults to 64k... I believe we should make the default 64k, and let other platforms, like arm, use DEFAULTS to change it to smaller values if necessary... Anyone have any objections to this? On my recent box I built (AMD X2 3800+ w/ Gigabyte mobo), the /var/run/dmesg.boot starts w/: pci_link19: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 5 7 9 10 11 14 15 w/ a larger msgbuf size I end up w/: -bash-2.05b$ wc -c dmesg.boot 46362 dmesg.boot -bash-2.05b$ head -n 3 dmesg.boot Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. -bash-2.05b$ grep -n '^pci_link19: Links after initial validation' dmesg.boot 381:pci_link19: Links after initial validation: -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."