From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 3 07:43:48 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 CF2D116A4CE; Fri, 3 Dec 2004 07:43:48 +0000 (GMT) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FDD843D4C; Fri, 3 Dec 2004 07:43:48 +0000 (GMT) (envelope-from james@jrv.org) Received: from [127.0.0.1] (zippy.housenet.jrv [192.168.3.156]) (authenticated bits=0) by mail.jrv.org (8.12.11/8.12.10) with ESMTP id iB37hkS7086891; Fri, 3 Dec 2004 01:43:47 -0600 (CST) (envelope-from james@jrv.org) Message-ID: <41B01932.90103@jrv.org> Date: Fri, 03 Dec 2004 01:43:46 -0600 From: "James R. Van Artsalen" User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <41AC70CA.4090805@freebsd.org> <41AFA4DE.4040702@jrv.org> <41AFA5D0.3060006@freebsd.org> In-Reply-To: <41AFA5D0.3060006@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD-amd64@freebsd.org Subject: Re: kernel panic with greater that 8 GB of memory 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, 03 Dec 2004 07:43:48 -0000 Scott Long wrote: >>> Bounce buffers with >4GB were indeed broken in 5.3-RELEASE. I fixed >>> them about a week ago in 5-STABLE and 6-CURRENT. You can work around >>> the breakage in 5.3-R by setting the following in /boot/loader.conf: >>> >>> vm.old_contigmalloc=1 >> >> > You should have rev 1.59.2.2 of /sys/i386/i386/busdma_machdep.c I'm using amd64. That same change appears to be in 1.57.2.2 on amd64. I have that file version. Unfortunate my system still crashes using more than 4GB of RAM. The symptom is a hard lockup, not a panic. This usually happens very quickly after NIC initialization begins. NIC bge(4) needs bounce buffers. My disk controller, twa(4), does not need bounce buffers and seems fine in single user mode with no NIC with 8GB. The system is limited to 4GB of RAM by putting "set hw,physmem=4g" in loader.rc rather than making any hardware changes. The hardware ran 5.2.1 for several months with 8GB so I think the hardware works. There are two CPUs and two DIMMs for each CPU.