From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: AMD Athlon64 X2 Dual-core and 4GB
Date: Fri, 28 Oct 2005 19:30:46 +0000 (UTC) [thread overview]
Message-ID: <djtu96$r99$1@news.cistron.nl> (raw)
In-Reply-To: <m11x25bn3j.fsf@ebiederm.dsl.xmission.com>
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.
next prev parent reply other threads:[~2005-10-28 19:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 21:03 Vladimir Lazarenko
2005-10-27 21:06 ` Joel Jaeggli
2005-10-27 21:06 ` Alejandro Bonilla
2005-10-28 15:30 ` Eric W. Biederman
2005-10-28 16:04 ` thockin
2005-10-28 16:13 ` Eric W. Biederman
2005-10-28 17:12 ` thockin
2005-10-28 21:27 ` Vladimir Lazarenko
2005-10-28 16:40 ` Vladimir Lazarenko
2005-10-28 16:52 ` Eric W. Biederman
2005-10-28 19:30 ` Miquel van Smoorenburg [this message]
2005-10-28 16:39 ` Vladimir Lazarenko
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='djtu96$r99$1@news.cistron.nl' \
--to=miquels@cistron.nl \
--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