lkml.org 
[lkml]   [2007]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 4Gb ram not showing up
From
On Thu, Jun 07, 2007 at 02:48:50AM +0530, Satyam Sharma wrote:
> Ugh, no! How can we expect the user compiling a kernel to be *so*
> familiar with address space re-mapping / BIOSen (_his_ particular
> BIOS, specifically, and what / how it re-maps memory) / etc to be
> able to answer such questions? "Select ... if you have ... RAM
> installed" is perfectly clear, simple, and all that's needed.
>
> BTW, just imagine what a user would need to do to make things
> work as per your proposal. Build some kernel (don't care about
> memory loss), boot and find what his firmware prefers to do with
> address space (or else read up the BIOS documentation!) and
> _then_ again build a new kernel, this time selecting the options
> appropriately ...
>
> Also, note that the change you're proposing is unnecessary! As
> Andi pointed out, this issue has more to do with broken BIOSen
> and the proper fix for Tom is to contact his vendor and flash /
> upgrade the BIOS firmware. I don't see anything wrong with the
> Kconfig help texts.

Well no. If you have 4GB of ram, and a proper BIOS, then you NEED a
kernel configured for 64GB ram since PCI will take at least 0.5GB of it
and make it remapped above the 4GB address. So describing the
CONFIG_4GB option as being correct for people with 1 to 4GB ram is very
much wrong for almost all systems. It would only be correct for those
systems where the bios or chipset incorrectly does not remap memory
above the PCI address space. The current description is in fact wrong
when the bios isn't broken. Somewhere around 3 or 3.5GB seems to be the
limit for the CONFIG_4GB option. Any more and you need the CONFIG_64GB
option instead, unless your bios and/or chipset sucks in which case you
simply loose the ram in the PCI space and you might as well stick with
the CONFIG_4GB option to keep full performance.

--
Len Sorensen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-07 22:15    [from the cache]
©2003-2011 Jasper Spaans