Messages in this thread | | | From | "Miquel van Smoorenburg" <> | Subject | Re: AMD Athlon64 X2 Dual-core and 4GB | Date | Fri, 28 Oct 2005 19:30:46 +0000 (UTC) |
| |
In article <m11x25bn3j.fsf@ebiederm.dsl.xmission.com>, Eric W. Biederman <ebiederm@xmission.com> wrote: >Vladimir Lazarenko <vlad@lazarenko.net> 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 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/
| |