From owner-freebsd-jail@FreeBSD.ORG Sun Feb 8 17:24:16 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 619A0106566B for ; Sun, 8 Feb 2009 17:24:16 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5178FC0A for ; Sun, 8 Feb 2009 17:24:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B2BD919E042; Sun, 8 Feb 2009 18:24:14 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8B95E19E02E; Sun, 8 Feb 2009 18:24:12 +0100 (CET) Message-ID: <498F153C.7070606@quip.cz> Date: Sun, 08 Feb 2009 18:24:12 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <20090207174104.Y93725@maildrop.int.zabbadoz.net> <498F0A16.7050108@quip.cz> <20090208164325.I93725@maildrop.int.zabbadoz.net> In-Reply-To: <20090208164325.I93725@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: HEADS UP: multi-IPv4/v6/no-IP jails now in 7-STABLE X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 17:24:16 -0000 Bjoern A. Zeeb wrote: > On Sun, 8 Feb 2009, Miroslav Lachman wrote: > > Hi, > >> Can you explain more details about "32bit compat on 64bit, jail v1 >> compat, .."? >> Is it possible to run 32bit jail in 64bit host and build & run 32bit >> ports (marked as i386 only) in it? What is needet to setup 32bit jail >> in 64bit host? > > > Running a 32bit userland on a 64bit machine inside a jail had been > possible for quite a while; you'll find the instructions for a > "perfect" setup with a bit of search. I know it was discussed few times in this list (eg. "Compilation question 64bit, 32 bit" at 2008-10-16), but I think there was not any "perfect" setup instructions and I am unable to find it with google (maybe I ask google by wrong questions ;]), so can you point me to the right place? > What the above means is that your i386 jail binary will work on amd64 and > that your old jail binary from before the update will work on the kernel > after the update. jls will not btw. As Alexander Leidinger replied in the mentioned thread, it does not seems too simple (in case of ports infrastructure) to use 32bit jail as pure 32bit environment to compile i386 only ports. I will try it next week and post back any results / questions. And in case of success, I will write it on Jails wiki page. Miroslav Lachman