Re: AMD Athlon64 X2 Dual-core and 4GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <[email protected]>,
Eric W. Biederman <[email protected]> wrote:
>Vladimir Lazarenko <[email protected]> writes:
>
>>>>>Thus, the question - would I be able to use whole 4G RAM with dual-core amd
>> and
>>>>>kernel with SMP compiled for i686?
>>> Why would you use a dual core AMD in 32 bit mode?  Just build an x86_64
>>> kernel.
>>> If you want to use 4GB in 32 bit mode, you *need* remapping (or you lose
>>> part of your memory).  Remapping means you have MORE than 4 GB of physical
>>> address, which means you need PAE to use it at all.
>>
>> Because I find my distribution's 64-bit release reasonably unstable yet? :)
>>
>> Or can I somehow build an x86_64 kernel and keep using 32-bit libc?
>
>Building a x86_64 kernel is a bit of a trick on a 32bit distro.  
>You need an appropriate version of gcc, and binutils.  But it runs
>fine.

I installed the 64 bit version of my distro on a small partition,
the 32 bit version on a larger partition. Then I compiled a kernel
on the 64 bit system, and installed it on the 32 bit partition.

Now I boot a 64 bit kernel for the 32 bit userland, and mount the
64-bit distribution partition under /amd64 - if I need to do
anything in 64 bit userland (like compile a new kernel) I just
chroot /amd64

Even the 64-bit binary nvidia kernel driver works fine with
a 32-bit X in userland.

Mike.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux