From owner-freebsd-emulation@FreeBSD.ORG Thu May 21 10:29:25 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0875106564A for ; Thu, 21 May 2009 10:29:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5978FC0A for ; Thu, 21 May 2009 10:29:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2D176.dip.t-dialin.net [217.226.209.118]) by redbull.bpaserver.net (Postfix) with ESMTP id BB28C2E168; Thu, 21 May 2009 12:29:17 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.2.103]) by outgoing.leidinger.net (Postfix) with ESMTP id D9F382420D1; Thu, 21 May 2009 12:29:12 +0200 (CEST) Date: Thu, 21 May 2009 12:29:11 +0200 From: Alexander Leidinger To: Geoff Fritz Message-ID: <20090521122911.00002a24@unknown> In-Reply-To: <20090520213830.GA13304@dev.null> References: <20090520213830.GA13304@dev.null> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.10.13; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: BB28C2E168.27C62 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, TW_NX 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxulator, 32-bit executables, and linux-from-scratch X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 10:29:26 -0000 On Wed, 20 May 2009 15:38:30 -0600 Geoff Fritz wrote: > I have a couple of quesiotns about FreeBSD's linux emulation > environment. > > Firstly, does the emulation layer handle the 32-bit Linux binaries > natively, or does it rely on FreeBSD's own 32-bit emulation layer? > In other words, can I get away with not loading the 32-bit FreeBSD > libraries? You do not need the FreeBSD lib32 stuff. > I've tried searching, but wasn't able to find any relavent infomation > about this next item. Has anyone tried a linux-from-scratch > bootstrap process under Linuxulator to create a custom environment? Have a look at the gentoo linux_dist ports. This should be similar. > Are there any low-level problems that may prevent me from doing so? > And, on a related note, is it possible to have multiple linux trees > for emulation? That is, if I mount linsys and linproc correctly in > another place (other than /compat/linux), will things work as > expected? It will only work, if you chroot into those directories. Notes: The linux base ports in FreeBSD are designed to play well together with FreeBSD without chroot, you can not really chroot into such an environment. What ever you do with linux from scratch, it will not play as well out of the box with FreeBSD as the linux base ports. So if you go this way, I suggest to only use the from scratch stuff with chroot (or in a linux-only-jail). > And my last question... I run 7.2-RELEASE/amd64. Is it possible yet > to run a 32-bit WINE environemt under the Linux emulation? Last I > heard, the 64-bit kernel was lacking a syscall or two to make this > possible. Has this changed? No, and I don't think someone will spend time to do this. AFAIK wine makes some very low-level assumptions which are not true in the linxulator and most probably will never be true there. Bye, Alexander.