From: Robin van Leeuwen Subject: Re: [Xen-users] Question about stability 32bit chroot and xen 2.0.7 Date: Thu, 01 Sep 2005 09:05:37 +0000 Message-ID: <4316C461.1090008@ttg-edam.nl> References: <43160CC0.2020009@ttg-edam.nl> <20050831224614.37e4e87d@dh286.pem.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050831224614.37e4e87d@dh286.pem.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org Daniel Hulme wrote: >>Will i be able to run a stable Xen server in a 32 bit chroot >>enviroment on Debian 3.1 amd64 stable? >> >> >I think you are confused about what Xen does. Xen is a hypervisor: it >goes between the kernel and the hardware. You can't run Xen "on" Debian; >you might run a Debian guest on Xen though. Xen can't run in a chroot >environment because Xen itself does not care about filesystems and such >high level things: it cares about letting the guest operating systems >use the hardware in a safe way (FSVO safe). > > i'm familiar enough with xen and it's internals, currently i'm setup 32bit servers, and 64 bit servers with errors, submitting my bugreports etc, helping out where i can. >You can't run dom0 in a chroot because there is nothing to set up the >chroot environment for it: Xen boots it just as a normal bootloader >would. Similarly, you wouldn't want to run a domU in a chroot because >the domain already gets its own filesystem. Of course, in both cases you >can run *applications* in a chroot just as you would on a native Linux >(or NetBSD or FreeBSD) system. > > I can compile xen 3.0 to boot DomU in 64 bit mode. and set Linux-2.6-xenU to architecture x86 instead of x86_64? Question is if i can boot with the xen3 kernel 64 bit and the domU xen32 bit. That's not possible as i understand from your answer. My solution, could work, indeed you don't need a chroot, but you should just setup your domU partitions with a x86 release of linux. But your stuck with a unstable kernel in that way. To answer what you actually want to do rather than what you asked, Xen >does not support mixing 32-bit and 64-bit guests. Either Xen and all >guest operating systems are 64-bit, or they are all 32-bit. The same >applies to PAE/non-PAE. This support is planned, but not for some time >yet. > So for now my only option is to install the whole thing 32 bit, debian + xen. tnx