mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Walrond <andrew@walrond.org>
To: linux-kernel@vger.kernel.org
Subject: Re: lost memory on a 4GB amd64
Date: Thu, 16 Sep 2004 14:30:06 +0100	[thread overview]
Message-ID: <200409161430.06901.andrew@walrond.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0409161445110.1290@magvis2.maths.usyd.edu.au>

Hi Sergei,

I have the same board with 4Gb ram running a 64bit 2.6.8.1 and solved it by 
changing something in the bios. Let me reboot and I'll take a note of what I 
did...

On Thursday 16 Sep 2004 05:48, Sergei Haller wrote:
> 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

  reply	other threads:[~2004-09-16 13:30 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16  4:48 Sergei Haller
2004-09-16 13:30 ` Andrew Walrond [this message]
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  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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200409161430.06901.andrew@walrond.org \
    --to=andrew@walrond.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome