Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Cs2FJ-0005vw-R2 for mharc-grub-devel@gnu.org; Fri, 21 Jan 2005 12:06:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cs2FG-0005v2-C7 for grub-devel@gnu.org; Fri, 21 Jan 2005 12:06:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cs2FF-0005uH-43 for grub-devel@gnu.org; Fri, 21 Jan 2005 12:06:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cs2FE-0005te-MP for grub-devel@gnu.org; Fri, 21 Jan 2005 12:06:48 -0500 Received: from [128.252.246.183] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cs21o-0004Ad-Pe for grub-devel@gnu.org; Fri, 21 Jan 2005 11:52:57 -0500 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j0LH3oFP016552 for ; Fri, 21 Jan 2005 11:03:50 -0600 Received: (from ssaccone@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j0LH3oP4016551 for grub-devel@gnu.org; Fri, 21 Jan 2005 11:03:50 -0600 From: Scott Saccone To: grub-devel@gnu.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1106327030.15199.3.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 21 Jan 2005 11:03:50 -0600 Subject: RAM detection problem X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 17:06:51 -0000 I'm having a problem with GRUB 0.94 and was wondering if it is fixed in GRUB2. FC2/x86_64 (2.6.5-1.358smp) ran fine with 2GB RAM, but after installing another 2GB it only detects 3GB. GRUB 0.94 also only detects 3GB. I noticed in the source code that GRUB is using int to store certain quantities related to RAM. There is also a bug report at http://savannah.gnu.org/bugs/?func=detailitem&item_id=9954 related to this. Could this my problem? If GRUB has a bug, would this affect linux? Can I fix this by simply updating to GRUB2? From /var/log/dmesg: BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009b800 (usable) BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000bff60000 (usable) BIOS-e820: 00000000bff60000 - 00000000bff6f000 (ACPI data) BIOS-e820: 00000000bff6f000 - 00000000bff80000 (ACPI NVS) BIOS-e820: 00000000bff80000 - 00000000c0000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) BIOS-e820: 0000000100000000 - 0000000140000000 (usable) ... Memory: 3096192k/3145088k available (1879k kernel code, 0k reserved, 1326k data, 176k init) I processed the above: start finish start-dec finish-dec dec-width MB 0 9b800 0 636928 636928 0.607 u 9b800 a0000 636928 655360 18432 0.018 r e0000 100000 917504 1048576 131072 0.125 r 100000 bff60000 1048576 3220570112 3219521536 3070.375 u bff60000 bff6f000 3220570112 3220631552 61440 0.059 r bff6f000 bff80000 3220631552 3220701184 69632 0.066 r bff80000 c0000000 3220701184 3221225472 524288 0.500 r e0000000 f0000000 3758096384 4026531840 268435456 256.000 r fec00000 fec10000 4273995776 4274061312 65536 0.062 r fee00000 fee01000 4276092928 4276097024 4096 0.004 r ff800000 ffc00000 4286578688 4290772992 4194304 4.000 r fffffc00 100000000 4294966272 4294967296 1024 0.001 r 100000000 140000000 4294967296 5368709120 1073741824 1024.000 u Usable=4293900288 (4094.982421875 MB) Not usable=273505280 (260.8349609375 MB) Total=4567405568 (4355.8173828125 MB) The addresses in the last line exceed 2^32. Why is that? Do some of these addresses refer to something besides my RAM? SPECS: CPU: 2 x 3.2GHz Xeon Nocona MOBO: Tyan Thunder i7525 (S2676) RAM: 4GB 2 x 1GB Corsair Reg DDR2 4 x 512MB Corsair Reg DDR2 BIOS: S2676 Rev 2.00 (9/28/04) Linux: 2.6.5-1.358smp Distro: FC2 x86_64 GRUB: GNU GRUB 0.94 gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7)