From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 21 13:21:19 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E6EA1065670 for ; Sat, 21 Nov 2009 13:21:19 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id BE3E78FC22 for ; Sat, 21 Nov 2009 13:21:17 +0000 (UTC) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id nALAqnMg020392 for ; Sat, 21 Nov 2009 21:52:49 +1100 Received: from server.vk2pj.dyndns.org (c122-106-232-83.belrs3.nsw.optusnet.com.au [122.106.232.83]) by mail12.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id nALAqjnX003739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Nov 2009 21:52:46 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id nALAqjnf037501; Sat, 21 Nov 2009 21:52:45 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id nALAqi0s037500; Sat, 21 Nov 2009 21:52:44 +1100 (EST) (envelope-from peter) Date: Sat, 21 Nov 2009 21:52:44 +1100 From: Peter Jeremy To: "Sam Fourman Jr." Message-ID: <20091121105244.GA35595@server.vk2pj.dyndns.org> References: <20091119065742.GA28159@logik.internal.network> <11167f520911191512q5fa951dbu6ab7cf35de31825@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <11167f520911191512q5fa951dbu6ab7cf35de31825@mail.gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org Subject: Re: Wine on amd64 in 32 bit jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 13:21:19 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Nov-19 17:12:19 -0600, "Sam Fourman Jr." wrote: >I would like to help get this working.. is there a howto somewhere to >setup a i386 jail on amd64? >I used teh instructions on http://wiki.freebsd.org/Wine (and pointed >the jail to /compat/i386) I haven't tried wine, but I do have an i386 jail on my main amd64 server (primarily to build apps for my netbook) and have managed to build all the apps I want (including Firefox, OpenOffice.org and jdk15). I have a full i386 world installed in the jail and have the following overrides in my environment: MACHINE=3Di386 UNAME_p=3Di386 UNAME_m=3Di386 I did run into problems initially because my i386 userland wasn't aligned with my amd64 kernel but rebuilding both fixed that (I'm running 8.0-RC1 and a bit). Note that some tools that poke around in kernel innards won't work - ps and lsof are the most obvious. ktrace works but the resultant ktrace.out files need to read with an amd64 kdump. >Inside teh jail uname -a still produces this: >FreeBSD i386.puffybsd.com 8.0-RC3 FreeBSD 8.0-RC3 #0: Wed Nov 18 >22:22:44 UTC 2009 root@:/usr/obj/usr/src/sys/WORKSTATION amd64 You are missing the UNAME_x environment variables. >so trying to compile mesa-demos produces this It will compile and run with the above environment changes. --=20 Peter Jeremy --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksHxnwACgkQ/opHv/APuIf6CgCbBDSYnpLYmRlhsB2V8ZLu285m PRMAnAkGveZpqHIb/vLTOOhasudZ5E/9 =b4tr -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--