From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 5 07:54:01 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81A2D16A4CE for ; Fri, 5 Nov 2004 07:54:01 +0000 (GMT) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E85C43D58 for ; Fri, 5 Nov 2004 07:54:01 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.9p2/8.12.9) with ESMTP id iA57rwO7065693 for ; Fri, 5 Nov 2004 02:54:00 -0500 (EST) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.9p2/8.12.9/Submit) id iA57rwaB065692 for freebsd-amd64@freebsd.org; Fri, 5 Nov 2004 02:53:58 -0500 (EST) (envelope-from wayne) Date: Fri, 5 Nov 2004 02:53:57 -0500 From: "Michael R. Wayne" To: freebsd-amd64@freebsd.org Message-ID: <20041105075357.GQ30984@manor.msen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Problems with 4GB and 5.3 on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 07:54:01 -0000 Loaded 5.3RC2 from the iso onto my new 4GB dual Opteron server today. After getting cvsuop installed, I got 5.3-RELEASE and did a buildworld. It never completed: repeating it several times resulted in random crashes in various places throughout the build. A bit of googling suggested adding a line to /boot/loader.conf hw.physmem=2G This permitted the buildworld to complete so I built a new kernel using the following config file: include GENERIC options SMP options VM_KMEM_SIZE_MAX=(400*1024*1024) Leaving the 2G line in loader.conf, I managed to complete the entire build/install process normally. SMP seems to work properly as well. I removed the 2G limit from loader.conf and tried several more buildworlds and the random crashes returned. A bit of googling suggested adding the following to /etc/make.conf: CFLAGS= -O -pipe -g -DKVA_PAGES=512 COPTFLAGS= -O -pipe -DKVA_PAGES=512 This had no effect, the random crashes continue during buildworlds. I tried raising the limit to 3G and the crashes returned. Any suggestions as to how to proceed would be greatly appreciated. /\/\ \/\/