Subject: Re: [vserver] Preconditions for Debian Lenny 64bit Host with 32/64 bit guests?
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 17 May 2010 16:11:09 +0200

On Tue, May 11, 2010 at 06:43:41PM +0100, ben@bristolwireless.net wrote:
> Quoting "Adrian Reyer" <are@lihas.de>:
> 
> >On Tue, May 11, 2010 at 10:54:48AM +0200, Markus Fischer wrote:
> >>Will there be problems running guests in 32bit, just in case it
> >>would be necessary?

> >Just do it, works fine here.
> >I suggest the 2.6.32 Kernels, though, 2.6.26 is believed to be broken
> >and despite it works fine on some machines here, it doesn't on some
> >others.
> >

> Hi,

> for a 32-bit guest on a 64-bit I would add that you may want to set  
> the /etc/vservers/<guest name>/uts/machine file to something like i686  
> in order for compiling on that guest to go well.

actually you want to set the personality to 32bit
so that not just compiling works fine :)
(i.e. setting machine is the wrong approach)

best,
Herbert

> The 2.6.26 kernel in Lenny is broken in the ways recorded here:  
> http://linux-vserver.org/Installation_on_Debian#Issues_with_the_current_2.6.26_Kernel

> Cheers,
> ==
> From Ben Green