From owner-freebsd-stable@FreeBSD.ORG Fri Jun 4 12:26:43 2010 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 6B6C9106564A for ; Fri, 4 Jun 2010 12:26:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2418FC16 for ; Fri, 4 Jun 2010 12:26:43 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id DEE8E46B51; Fri, 4 Jun 2010 08:26:42 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id F0C768A01F; Fri, 4 Jun 2010 08:26:41 -0400 (EDT) From: John Baldwin To: Dave Hayes Date: Fri, 4 Jun 2010 08:20:49 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <201006031029.00588.jhb@freebsd.org> <201006040937.o549bEFt054288@hugeraid.jetcafe.org> In-Reply-To: <201006040937.o549bEFt054288@hugeraid.jetcafe.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006040820.49741.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 04 Jun 2010 08:26:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Garrett Cooper , freebsd-stable@freebsd.org, Clifton Royston , Jeremy Chadwick Subject: Re: Locking a file backed mdconfig into memory 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: Fri, 04 Jun 2010 12:26:43 -0000 On Friday 04 June 2010 5:37:14 am Dave Hayes wrote: > John Baldwin writes: > > On Wednesday 02 June 2010 6:37:59 pm Dave Hayes wrote: > >> John Baldwin writes: > >> > Ok, if you are using a stock mfsroot from a release build, that should > >> > work fine. If you have built a custom mfsroot that is larger, then > >> > you may need to increase NKPT on i386. In very recent 7 and later you > >> > can do this by setting it to a new value in your kernel config. In > >> > older versions you can do this by manually adding a #define to set a > >> > new value of NKPT in opt_global.h or hacking on the source directly. > >> > >> Is this also true for amd64 (which is my particular target)? > > > > It might be. What is the panic you are seeing? > > I can't see the panic as it repeatedly scrolls across the console screen > faster than I can read it. In this case the mfsroot is around 275MB. > > I have noticed that sometimes I can build an mfsroot that does not crash > of this size. Hmmm, I would just try increasing NKPT then. You might have to poke around in sys/amd64 to see what the default size is and how to tune it. -- John Baldwin