From nobody@FreeBSD.org  Sun Oct 16 10:47:41 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6DEB116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2005 10:47:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3569D43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2005 10:47:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9GAleC0038872
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2005 10:47:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9GAleYi038871;
	Sun, 16 Oct 2005 10:47:40 GMT
	(envelope-from nobody)
Message-Id: <200510161047.j9GAleYi038871@www.freebsd.org>
Date: Sun, 16 Oct 2005 10:47:40 GMT
From: Sean Dean <seandean@enhancededge.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 6.0-CURRENT freezes machine using >4GB on AMD64 architecture with high memory load
X-Send-Pr-Version: www-2.3

>Number:         87514
>Category:       amd64
>Synopsis:       6.0-CURRENT freezes machine using >4GB on AMD64 architecture with high memory load
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 10:50:14 GMT 2005
>Closed-Date:    Tue Dec 19 20:38:08 GMT 2006
>Last-Modified:  Tue Dec 19 20:38:08 GMT 2006
>Originator:     Sean Dean
>Release:        6.0-CURRENT
>Organization:
Enhanced Edge
>Environment:
FreeBSD link.enhancededge.com 6.0-RC1 FreeBSD 6.0-RC1 #1: Sat Oct 15 07:01:34 EDT 2005     seandean@link.enhancededge.com:/usr/obj/usr/src/sys/LINK  amd64              
>Description:
Under 6.0-CURRENT using a Tyan K8SE (v1.03) with dual Opterons and 8GB of RAM my machine will freeze up when I have Software selected in the BIOS for Memhole mapping. The system will freeze when running a high load memory application, or an application using a large portion of memory.

I tested with a MySQL process using just over 6GB and the system will have an uptime of about 4-5 days before it freezes. I have also tried running Nutch (with JDK1.5p2) and it will run until the resident memory size hits 101M (the size memory is at 2.2GB captured through the top application at the same time).

Running in either Hardware or Disabled mode for Memhole mapping will not cause the machine to freeze, but will remove about 1GB of RAM from the OS.

Kernel memory output with Software selected:

Oct 16 03:29:28 link kernel: real memory  = 9663676416 (9216 MB)
Oct 16 03:29:28 link kernel: avail memory = 8288559104 (7904 MB)

Kernel memory output with Hardware or Disabled selected:

Oct 16 04:04:47 link kernel: real memory  = 8589934592 (8192 MB)
Oct 16 04:04:47 link kernel: avail memory = 7246278656 (6910 MB)
>How-To-Repeat:
Run MySQL with a large memory size, greater then 4GB or use any application that requires large portions of memory with high read/write activity.              
>Fix:
I dont know of any fix, but if your willing to run with 1GB less of RAM you can use either Hardware or Disabled mode selected.            
>Release-Note:
>Audit-Trail:

From: "David O'Brien" <obrien@FreeBSD.org>
To: Sean Dean <seandean@enhancededge.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: amd64/87514: 6.0-CURRENT freezes machine using >4GB on AMD64 architecture with high memory load
Date: Tue, 18 Oct 2005 09:36:41 -0700

 On Sun, Oct 16, 2005 at 10:47:40AM +0000, Sean Dean wrote:
 > Under 6.0-CURRENT using a Tyan K8SE (v1.03) with dual Opterons and 8GB
 > of RAM my machine will freeze up when I have Software selected in
 > the BIOS for Memhole mapping. The system will freeze when running a
 > high load memory application, or an application using a large portion
 > of memory.
 ...
 > Running in either Hardware or Disabled mode for Memhole mapping will
 > not cause the machine to freeze, but will remove about 1GB of RAM from
 > the OS.
 
 This is a BIOS bug, not a FreeBSD bug.  What version of the BIOS are you
 running?  What revision Opterons do you have?
 
 -- 
 -- David  (obrien@FreeBSD.org)

From: "Sean Dean" <seandean@enhancededge.com>
To: <bug-followup@FreeBSD.org>,
	<seandean@enhancededge.com>
Cc:  
Subject: Re: amd64/87514: 6.0-CURRENT freezes machine using &gt;4GB on AMD64 architecture with high memory load
Date: Tue, 19 Dec 2006 14:07:17 -0500

 I recently updated the BIOS to version 2.03 from version 1.03, which was
 what I was using when I submitted this PR.
 
 The revisions of the Opertons are C0, and according to AMD there were two
 errata open that was responsible for the deadlock. These are errata 99 and
 101, which have been fixed in the BIOS.
 
 I have load tested the machine now with 8GB RAM, and everything is holding
 up under 6.2-PRERELEASE.
 
 We can now close this bug. Thanks.
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Dec 19 20:37:23 UTC 2006 
State-Changed-Why:  
Fixed via firmware upgrade. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87514 
>Unformatted:
