All of lore.kernel.org
 help / color / mirror / Atom feed
* lost memory on a 4GB amd64
@ 2004-09-16  4:48 Sergei Haller
  2004-09-16 13:30 ` Andrew Walrond
  2004-09-16 13:48 ` Andrew Walrond
  0 siblings, 2 replies; 44+ messages in thread
From: Sergei Haller @ 2004-09-16  4:48 UTC (permalink / raw)
  To: linux-kernel


Hello,

A friend of mine has a new Opteron based machine (Tyan Tiger K8W with two 
Opteron 24?) and 4GB main memory.

the problem is that about 512 MB of that memory is lost (AGP aperture and 
stuff). Although everything is perfect otherwise.
As far as I understand, all the PCI/AGP hardware uses the top end of the 
4GB address range to access their memory and there is just an 
"overlapping" of the addresses. thus only the remaining 3.5 GB are 
available.


Now there is an option in the BIOS called "Adjust Memory" which puts a 
certain amount of memory (several choices between 64MB and 2GB) above the 
4GB address range. I tried the 2GB setting which results in 2GB main 
memory at addresses 0-2GB and 2GB memory at addresses 4GB-6GB.

the problem is that the kernel (2.6.3-9mdksmp and vanilla 2.6.8.1) crashes
if this option is enabled as soon as some memory expensive program is run
(e.g. X)

I've seen some postings on the net talking about some "kernel patch" for
some "memory split", but nothing more specific. Do I just need a certain
patch to get it working or is there more to it?



BTW, the memory map displayed at boot is

 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000d3ff0000 (usable)
 BIOS-e820: 00000000d3ff0000 - 00000000d3fff000 (ACPI data)
 BIOS-e820: 00000000d3fff000 - 00000000d4000000 (ACPI NVS)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)

if I leave the 4GB memory in one chunk and 

 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
 BIOS-e820: 000000007fff0000 - 000000007ffff000 (ACPI data)
 BIOS-e820: 000000007ffff000 - 0000000080000000 (ACPI NVS)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000180000000 (usable)

if I enable the "adjust memory" option and split the memory in two 2GB 
blocks. 

Thanks in advance,

        Sergei
-- 
--------------------------------------------------------------------  -?)
         eMail:       Sergei.Haller@math.uni-giessen.de               /\\
-------------------------------------------------------------------- _\_V
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain

^ permalink raw reply	[flat|nested] 44+ messages in thread
[parent not found: <2EWxl-7CI-13@gated-at.bofh.it>]

end of thread, other threads:[~2004-10-28 13:33 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-16  4:48 lost memory on a 4GB amd64 Sergei Haller
2004-09-16 13:30 ` Andrew Walrond
2004-09-16 13:48 ` Andrew Walrond
2004-09-16 14:09   ` Sergei Haller
2004-09-16 14:28     ` Andrew Walrond
2004-09-16 14:56       ` Sergei Haller
2004-09-16 15:19         ` Andrew Walrond
2004-09-16 15:52           ` Sergei Haller
2004-09-18 14:18             ` Sergei Haller
2004-09-19 20:01               ` Jon Masters
2004-09-19 21:47                 ` Sergei Haller
2004-09-19 22:00                   ` Jon Masters
2004-09-19 22:19                     ` Sergei Haller
2004-09-20 10:26                       ` Sergei Haller
2004-09-24  4:38                         ` Sergei Haller
2004-09-24  4:38                         ` Sergei Haller
2004-09-24  8:15                         ` Andrew Walrond
2004-09-24  8:23                           ` Sergei Haller
2004-09-24  8:31                             ` Andrew Walrond
2004-09-24  8:57                               ` Sergei Haller
2004-09-24  9:27                                 ` Rafael J. Wysocki
2004-09-24  9:41                                   ` Andrew Walrond
2004-09-24 11:42                                     ` Sergei Haller
2004-09-24 12:15                                       ` Andrew Walrond
2004-10-22  8:59                                         ` Sergei Haller
2004-10-22  9:26                                           ` Andrew Walrond
2004-10-22 18:24                                             ` Andi Kleen
2004-10-23 10:02                                               ` Andreas Klein
2004-10-23 16:43                                                 ` Andi Kleen
2004-10-26 11:25                                                   ` Andreas Klein
2004-10-23 10:26                                               ` Sergei Haller
2004-10-23 16:49                                                 ` Andi Kleen
2004-10-24  9:53                                                   ` Sergei Haller
     [not found]                                                     ` <Pine.LNX.4.58.0410271704050.3903@pluto.physik.uni-wuerzburg.de>
2004-10-27 15:39                                                       ` solution " Sergei Haller
2004-10-27 16:05                                                         ` Andreas Klein
2004-10-27 16:17                                                           ` Sergei Haller
2004-10-28 13:32                                                             ` Andreas Klein
2004-10-27 16:44                                                           ` linux-os
2004-10-27 17:47                                                             ` Andrew Walrond
2004-09-24 11:50                                   ` Sergei Haller
     [not found] <2EWxl-7CI-13@gated-at.bofh.it>
2004-09-16  7:01 ` Andi Kleen
2004-09-16 12:15   ` Sergei Haller
2004-09-16 12:34     ` Andi Kleen
2004-09-18 14:07       ` Sergei Haller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.