Re: 2.6.32-rc3: low mem - only 378MB on x86_32 with 64GB. Why?

From: Benjamin Herrenschmidt
Date: Sun Oct 11 2009 - 05:08:37 EST


On Tue, 2009-10-06 at 07:35 -0700, Linus Torvalds wrote:
>
> On Tue, 6 Oct 2009, Jeff Chua wrote:
> >
> > First, have to compile gcc so that it can compile 64 bit kernel. That's a
> > tough one!
>
> It's supposed to be easier these days, but I guess distros don't compile
> in support for 64-bit mode by default. Just using another machine may be
> the simplest approach, if you have any 64-bit distro around.

My experience is that most distros have a compiler capable of generating
a 64-bits kernel, if not 64-bits userspace (the later depends on whether
the "other" bits such as libgcc, glibc, etc... are there for 64-bits,
which is also generally available, though optional).

I regulary compile 64-bit kernels with a 32-bit Ubuntu or Debian on i386

Cheers,
Ben.

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