* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
@ 2008-07-03 17:56 ` Dale
2008-07-03 18:04 ` Neil Bothwick
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Dale @ 2008-07-03 17:56 UTC (permalink / raw
To: gentoo-user
Pawel K wrote:
> Hello
>
> I have 4 GB of ram and a Intel Core 2 Duo E4500.
> I compiled the kernel as follows:
> Processor family
> Core 2/newer Xeon
>
> Subarchitecture Type
> PC-compatible
>
> High Memory Support
> Off
>
> All my remaining packages are compiled as 32 bit binaries.
>
> The last switch causes my system to see less than 1 GB of memory:
> cat /proc/meminfo:
> MemTotal: 901816 kB
>
> AFAIK kernel does not need High Memory Support in case of 64 bit CPUs.
>
> What's wrong with my kernel config ?
> Maybe it does not run as a 64 bit CPU ?
>
> thanks for an answer.
>
>
Check your kernel:
Processor type and features
High Memory Support
then select 4Gb or maybe even 64Gb if you plan to add even more later.
Hope that helps.
Dale
:-) :-)
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
2008-07-03 17:56 ` Dale
@ 2008-07-03 18:04 ` Neil Bothwick
2008-07-03 23:56 ` Norberto Bensa
2008-07-03 18:38 ` Mike Williams
` (3 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2008-07-03 18:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
On Thu, 3 Jul 2008 08:49:45 -0700 (PDT), Pawel K wrote:
> AFAIK kernel does not need High Memory Support in case of 64 bit CPUs.
>
> What's wrong with my kernel config ?
> Maybe it does not run as a 64 bit CPU ?
That's the most likely case, because the HighMem option doesn't even
appear on a 64 bit system.
--
Neil Bothwick
For every action, there is an equal and opposite malfunction.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
2008-07-03 17:56 ` Dale
2008-07-03 18:04 ` Neil Bothwick
@ 2008-07-03 18:38 ` Mike Williams
2008-07-03 18:39 ` Norberto Bensa
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Mike Williams @ 2008-07-03 18:38 UTC (permalink / raw
To: gentoo-user
On Thursday 03 July 2008 16:49:45 Pawel K wrote:
> AFAIK kernel does not need High Memory Support in case of 64 bit CPUs.
Correct.
> What's wrong with my kernel config ?
> Maybe it does not run as a 64 bit CPU ?
The config for an x86_64 kernel doesn't have a high memory support option,
you've built a 32bit kernel.
a64bitserver linux # make menuconfig
scripts/kconfig/mconf arch/x86_64/Kconfig
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Interrupt
--
Mike Williams
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
` (2 preceding siblings ...)
2008-07-03 18:38 ` Mike Williams
@ 2008-07-03 18:39 ` Norberto Bensa
2008-07-03 19:06 ` Volker Armin Hemmann
2008-07-04 9:24 ` Florian Philipp
5 siblings, 0 replies; 8+ messages in thread
From: Norberto Bensa @ 2008-07-03 18:39 UTC (permalink / raw
To: gentoo-user
Quoting Pawel K <pawlaczus@yahoo.com>:
> High Memory Support
> Off
You made you box to only see ~950MB :)
From menuconfig:
CONFIG_HIGHMEM4G:
Select this if you have a 32-bit processor and between 1 and 4
gigabytes of physical RAM.
Symbol: HIGHMEM4G [=y]
Prompt: 4GB
Defined at arch/x86/Kconfig:766
Depends on: <choice> && !X86_NUMAQ
Location:
-> Processor type and features
-> High Memory Support (<choice> [=y])
Regards,
Norberto
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
` (3 preceding siblings ...)
2008-07-03 18:39 ` Norberto Bensa
@ 2008-07-03 19:06 ` Volker Armin Hemmann
2008-07-04 9:24 ` Florian Philipp
5 siblings, 0 replies; 8+ messages in thread
From: Volker Armin Hemmann @ 2008-07-03 19:06 UTC (permalink / raw
To: gentoo-user
On Donnerstag, 3. Juli 2008, Pawel K wrote:
> Hello
>
> I have 4 GB of ram and a Intel Core 2 Duo E4500.
> I compiled the kernel as follows:
> Processor family
> Core 2/newer Xeon
>
> Subarchitecture Type
> PC-compatible
>
> High Memory Support
> Off
>
> All my remaining packages are compiled as 32 bit binaries.
you installed a 32bit kernel?
>
> The last switch causes my system to see less than 1 GB of memory:
> cat /proc/meminfo:
> MemTotal: 901816 kB
>
> AFAIK kernel does not need High Memory Support in case of 64 bit CPUs.
>
> What's wrong with my kernel config ?
> Maybe it does not run as a 64 bit CPU ?
it does. But it needs a 64bit kernel. And to have one you need a 64bit gcc and
binutils and glibc and ....
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] 4 GB and Intel Core 2 Duo
2008-07-03 15:49 [gentoo-user] 4 GB and Intel Core 2 Duo Pawel K
` (4 preceding siblings ...)
2008-07-03 19:06 ` Volker Armin Hemmann
@ 2008-07-04 9:24 ` Florian Philipp
5 siblings, 0 replies; 8+ messages in thread
From: Florian Philipp @ 2008-07-04 9:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
On Thu, 3 Jul 2008 08:49:45 -0700 (PDT)
Pawel K <pawlaczus@yahoo.com> wrote:
> Hello
>
> I have 4 GB of ram and a Intel Core 2 Duo E4500.
> I compiled the kernel as follows:
> Processor family
> Core 2/newer Xeon
>
> Subarchitecture Type
> PC-compatible
>
> High Memory Support
> Off
>
> All my remaining packages are compiled as 32 bit binaries.
>
> The last switch causes my system to see less than 1 GB of memory:
> cat /proc/meminfo:
> MemTotal: 901816 kB
>
> AFAIK kernel does not need High Memory Support in case of 64 bit CPUs.
>
> What's wrong with my kernel config ?
> Maybe it does not run as a 64 bit CPU ?
>
> thanks for an answer.
>
>
>
>
If you want to keep your 32bit userland, you'll run into a chicken-or-
the-egg-problem (because you can't run 64bit software without a 64bit
kernel).
To avoid this, you could get a precompiled 64bit kernel and
boot with that one. Then you can use an AMD64-stage3 from Gentoo to
compile your own kernel.
I think, that's the easiest solution but I haven't tested it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread