From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sat 20 Aug 2005 - 22:49:57 BST
On Sat, Aug 20, 2005 at 11:02:04PM +0200, Guenther Fuchs wrote:
> Hi there,
> on Samstag, 20. August 2005 at 21:46 on the list was posted:
> > 64 bit host system, no 32bit emulation for the
> > (obviously) 32bit guest?
> Obviousely. 64bit is totally new to me, so apologize for my
np, try the following: (assuming your guest is called
test101, and located in /vservers/test101)
you expect it to list a 32bit ELF like this:
/vservers/test101/bin/true: ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0,
dynamically linked (uses shared libs), stripped
if that returns with:
/vservers/test101/bin/true: cannot execute binary file
then you forgot to enable the 32bit emulation when
you built your kernel ... so you have to enable that
Symbol: IA32_EMULATION [=y]
Prompt: IA32 Emulation
Defined at arch/x86_64/Kconfig:453
-> Executable file formats / Emulations
> > you might want to set a linux32 personality there ...
> Sounds like a solution - if I only could figure out, how to do this.
> Setting "PER_LINUX32" into "personality" does not change anything with
> me, and I'm not realy familiar with that task.
if you did the above, and recompiled/installed the
kernel fine, and/or /vservers/test101/bin/true works
quite nicely, but your guest doesn't want to start,
please let us know, then it's likely a bug :)
> Guenther Fuchs
> Vserver mailing list
Vserver mailing list