[lkml]   [2006]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: AMD64: 64 bit kernel 32 bit userland - some pending questions
Thomas Glanzmann <> writes:

> Hello everyone,
> I would like to use an AMD64 Opteron System with a 64 bit Linux Kernel,
> but a 32 bit userland (Debian Sarge). I have a few questions about this:

The main caveat is that iptables and ipsec need 64bit executables
to be set up. The rest should work.

> - Is it possible to give the userland 3Gbyte virtual address
> space (default for 2.4 and 2.6).

The default is 4GB, but you can get 3GB by running it under linux32 --3gb

> But give the Kernel a 64 bit
> virtual address space so that I get more than 1 Gbyte physical
> Memory into LOWMEM - say I want 8 Gbyte - without using HIGHMEM

The 64bit kernel never uses highmem.

> - What is the easiest way to build a 64 bit kernel on a 32 bit
> Debian sarge. Are there crosscompiler packages available? Are
> there any guides on this?

If all fails you can get a cross compiler from crosstool.
Then normal kernel compilation command with

make ... ARCH=x86_64 CROSS_COMPILE=x86_64-linux-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-06 12:45    [W:0.037 / U:7.216 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site