From owner-freebsd-hackers Sat May 26 13:50:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 4FEB937B422 for ; Sat, 26 May 2001 13:50:36 -0700 (PDT) (envelope-from dg@root.com) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id f4QKiav39295; Sat, 26 May 2001 13:44:36 -0700 (PDT) (envelope-from dg) Date: Sat, 26 May 2001 13:44:36 -0700 From: David Greenman To: Terry Lambert Cc: hackers@freebsd.org Subject: Re: panics with 4GB on an IBM xSeries 330 Message-ID: <20010526134436.W19893@nexus.root.com> References: <200105251835.LAA11814@usr05.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200105251835.LAA11814@usr05.primenet.com>; from tlambert@primenet.com on Fri, May 25, 2001 at 06:35:29PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >] We have a 4GB IBM xSeries 330 (1GHz PIII) and I can't get 4.3-RELEASE to >] boot on it. I did set NKPT to 64 as suggested by DG about a week ago on >] this list (this is also the reason I take this to -hackers rather than >] -questions). Still, I get >] panic: swap_pager_swap_init: swap_zone=NULL >] when booting (both the modified kernel and GENERIC behave the same). An >] identical machine with 1GB works like a champ. Anything else other than >] NKPT I should set? > >Personally, I think NKPT is a red herring. I am running several >4G machines with the default of 32, and have not had problems >(any problems will be automatically fixed for you by grow_kernel()). NKPT is the initial number of kernel page table pages. It has to be large enough so that all of the initial/bootstrap VM system data structures can be allocated. pmap_growkernel() doesn't work during this time since the VM system has not be initialized yet. The data structures can be quite large and the default of NKPT isn't large enough and a panic will result in the bootstrap prior to the device initialization. This was the problem in the first 4G problem report a few days ago, but is apparantly not the problem in the most recently reported problem. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message