From nobody@FreeBSD.org  Mon Apr 11 06:28:42 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 B3FDC16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Apr 2005 06:28:42 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 96B0043D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Apr 2005 06:28:42 +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 j3B6SgVR047716
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Apr 2005 06:28:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j3B6Sfpm047715;
	Mon, 11 Apr 2005 06:28:41 GMT
	(envelope-from nobody)
Message-Id: <200504110628.j3B6Sfpm047715@www.freebsd.org>
Date: Mon, 11 Apr 2005 06:28:41 GMT
From: "eric.cho" <eric.cho@gigabyte.com.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: If system memory is above 4GB, one parts of memory will be ignored.
X-Send-Pr-Version: www-2.3

>Number:         79779
>Category:       i386
>Synopsis:       If system memory is above 4GB, one parts of memory will be ignored.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 11 06:30:28 GMT 2005
>Closed-Date:    Mon Jun 25 05:47:38 GMT 2007
>Last-Modified:  Mon Jun 25 05:47:38 GMT 2007
>Originator:     eric.cho
>Release:        
>Organization:
Gigabyte Technology
>Environment:
FreeBSD 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 rot@hollin.btc.adaptect.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1.Insert 4GB memory in mother board
2.Boot to FreeBSD
3.System will display two special prompts "BIOS 635kB/3143552kB available memory" and "1048576kB of memory above 4GB ignored" during I/O init.
4.After enter OS, we check the real/available memory by "dmesg command", the size is about 3GB.
>How-To-Repeat:
Please refer to above
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Marc Olzheim <marcolz@stack.nl>
To: freebsd-gnats-submit@FreeBSD.org, eric.cho@gigabyte.com.tw
Cc: marcolz@stack.nl
Subject: Re: i386/79779: If system memory is above 4GB, one parts of memory will be ignored.
Date: Mon, 11 Apr 2005 13:16:42 +0200

 Could you please try this on a less ancient release, like >= 5.3 ?
 
 Marc

From: =?big5?B?ZXJpYy5jaG8gKKj0rbOnuyk=?= <eric.cho@gigabyte.com.tw>
To: "Marc Olzheim" <marcolz@stack.nl>,
	<freebsd-gnats-submit@freebsd.org>
Cc: =?big5?B?ZXJpYy5jaG8gKKj0rbOnuyk=?= <eric.cho@gigabyte.com.tw>
Subject: RE: i386/79779: If system memory is above 4GB, one parts of memory    will be ignored.
Date: Fri, 15 Apr 2005 14:44:57 +0800

 Hi Marc:
 
 Sorry for late reply.
 Our update is below for your reference.
 1. After we update the kernel to 5.4, the issue still exists.
 Kernel information:
 FreeBSD db2 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr  6 03:28:10 CST =
 2005 root@db2:/usr/obj/usr/src/sys/BSD53  i386
 
 real memory  = 3220045824 (3070 MB)
 avail memory = 3153928192 (3007 MB)
 
 2. My platform is Lindenhurst (7520) + ICH5 and I can reproduce the same =
 issue on other platforms.
 Ex:=20
 Other Intel chipset (7501)
 FreeBSD www2 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr  6 03:28:10 CST =
 2005 root@www2:/usr/obj/usr/src/sys/BSD53  i386
 
 real memory  = 4026466304 (3839 MB)
 avail memory = 3946156032 (3763 MB)
 
 AMD platform:
 FreeBSD 5.4-STABLE #0: Wed Apr  6 03:28:10 CST 2005
     root@db7:/usr/obj/usr/src/sys/BSD53
 
 real memory  = 4227268608 (4031 MB)
 avail memory = 4143411200 (3951 MB)
 
 3. These three platforms all have 4GB (4096), but any of real memory is =
 smaller than 4GB. We get one conclusion that the real memory size is =
 decided by PCI resource base.
 In my example, its PCI resource will locate 0C0000000h ~ 0FFFFFFFFh, the =
 range of memory address will be reserved for PCI, so the real avail =
 memory under 4GB is only 000000000h ~ 0C0000000h about 3GB. Other memory =
 (about 1GB) will re-map to over 4GB address. Other platforms are also =
 due to this reason.
 
 4. So, the issue seems the current FreeBSD cannot use over 4GB memory, =
 right?
 
 Please kindly suggest.
 Thanks.
 
 Best Regards, Eric
 
From: =?big5?B?ZXJpYy5jaG8gKKj0rbOnuyk=?= <eric.cho@gigabyte.com.tw>
To: "Marc Olzheim" <marcolz@stack.nl>, <freebsd-gnats-submit@freebsd.org>
Cc: =?big5?B?ZXJpYy5jaG8gKKj0rbOnuyk=?= <eric.cho@gigabyte.com.tw>
Subject: RE: i386/79779: If system memory is above 4GB, one parts of memory    will be ignored.
Date: Wed, 20 Apr 2005 10:04:15 +0800

 Hi Marc:
 
 Can you duplicate the issue?
 If you need more information, please tell me.
 
 Best Regards, Eric
 

From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@FreeBSD.org, eric.cho@gigabyte.com.tw
Cc:  
Subject: Re:i386/79779: If system memory is above 4GB, one parts of memory will be ignored.
Date: Tue, 14 Jun 2005 09:40:25 +0200

 You should use PAE. Have a look at /sys/i386/conf/PAE
 Best Regards
 -- 
 Rionda aka Matteo Riondato
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)


From: Bill Moran <wmoran@collaborativefusion.com>
Date: Wed, 8 Mar 2006 18:07:11 -0500

 Adding to audit trail from misfiled PR i386/94254:

 I experienced similar behaviour on a Dell 2850 with:
 FreeBSD db0 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Wed Mar  8 17:03:02 EST 2006     root@db0:/usr/obj/usr/src/sys/DBSERVER  i386
 
 Building a PAE-enabled kernel seemed to help, except for some oddness:
 ...
 real memory  = 5368709120 (5120 MB)
 avail memory = 4185440256 (3991 MB)
 ...
 
 The machine actually has 4G of RAM, so I don't know where the 5G number
 is coming from - is that expected for some reason?
 
 Once the system is booted, top(1) shows 4G of RAM in use, so I believe
 the end result is correct.
 
 I'll have a test machine here for a while, so I can provide followup
 information if it will be helpful.
 
 -- 
 Bill Moran
 Collaborative Fusion Inc.

From: John Angelmo <john@veidit.net>
To: bug-followup@FreeBSD.org, eric.cho@gigabyte.com.tw
Cc:  
Subject: Re: i386/79779: If system memory is above 4GB, one parts of memory will be ignored.
Date: Fri, 22 Sep 2006 22:27:09 +0200

 Yes I have the same problem running 6.1-RELEASE
 
 real memory  = 3220963328 (3071 MB)
 avail memory = 3151044608 (3005 MB)
 Although 4GB is installed, 4096MB recognized by BIOS
 
 /John
 

From: Gavin Atkinson <gavin@freebsd.org>
To: John Angelmo <john@veidit.net>
Cc: bug-followup@freebsd.org
Subject: Re: i386/79779: If system memory is above 4GB, one parts of memory
 will be ignored.
Date: Sun, 24 Jun 2007 23:07:15 +0100 (BST)

 Hi,
 
 It looks like the problems in this PR were due to PAE suport not being 
 compiled into the kernel.  Therefore, can this PR be closed?
 
 Gavin
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sun Jun 24 22:12:39 UTC 2007 
State-Changed-Why:  
Have asked for feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79779 

From: John Angelmo <john@veidit.net>
To: Gavin Atkinson <gavin@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: i386/79779: If system memory is above 4GB, one parts of memory
 will be ignored.
Date: Mon, 25 Jun 2007 00:09:41 +0200

 Gavin Atkinson wrote:
 > 
 > Hi,
 > 
 > It looks like the problems in this PR were due to PAE suport not being 
 > compiled into the kernel.  Therefore, can this PR be closed?
 > 
 
 Sounds OK with me.
 Will we have PAE support compiled in the default ISO builds in the future?
 
 /John
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Jun 25 05:47:36 UTC 2007 
State-Changed-Why:  
The submitter replies that this can be closed. At this moment it is not 
sure whether we will include PAE in the GENERIC kernel. 

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