From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 19 14:33:07 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 1A3B21065670 for ; Thu, 19 Nov 2009 14:33:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8628FC1C for ; Thu, 19 Nov 2009 14:33:06 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id nAJEWxPx074715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 16:32:59 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id nAJEWx9P087729; Thu, 19 Nov 2009 16:32:59 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id nAJEWxmd087728; Thu, 19 Nov 2009 16:32:59 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 19 Nov 2009 16:32:59 +0200 From: Kostik Belousov To: Julian Elischer Message-ID: <20091119143259.GC2331@deviant.kiev.zoral.com.ua> References: <20091119065742.GA28159@logik.internal.network> <4B04F172.7070803@elischer.org> <20091119073818.GA81272@logik.internal.network> <4B0555C6.8020105@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Px68sada/aQXkwG2" Content-Disposition: inline In-Reply-To: <4B0555C6.8020105@elischer.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, xorquewasp@googlemail.com 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: Thu, 19 Nov 2009 14:33:07 -0000 --Px68sada/aQXkwG2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 19, 2009 at 06:27:18AM -0800, Julian Elischer wrote: > xorquewasp@googlemail.com wrote: > >On 2009-11-18 23:19:14, Julian Elischer wrote: > >>Wine is an exceptional bit of software, in many ways. > >>One way it is exceptional is that it uses the system in a number of > >>ways that nothing else does. For example it sets various special=20 > >>segment register settings and defines several different > >>segments on the LDT. This is something that is different to some=20 > >>extent between i386 and amd64 and it is possible that > >>the code for 386 LDT syscalls under amd64 may not work correctly. > >>nothing else would test this. > >> > > > >I agree and would also have likely not even tried if it wasn't for > >reading on FreeBSD's own wiki (amonst other places) that it should > >actually work fine. I've tried various versions and always get the > >same result: > > > > http://wiki.freebsd.org/Wine > > > > "FreeBSD currently lacks support for 32bit ports on a 64bit system. > > However, with a little bit of effort you can build and use the 32 bit > > wine executable on an amd64 system (Diablo 2 works just fine)." > > > >His instructions show an essentially identical setup to mine (apart > >from the fact that he's running a chroot and I'm running a jail). >=20 > jail may not alow you to do the LDT system calls. There are no restrictions for the sysarch(I386_GET/SET_LDT), neither for root-only, nor for inside the jail. >=20 > have you tried a chroot? >=20 > > > >Even any ideas on how to debug this would help. > > > >xw >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --Px68sada/aQXkwG2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksFVxsACgkQC3+MBN1Mb4hBSgCfRJLwCzO9z8eku23NmX8Ck35B CtoAmwWPoyHclROafBXVYDfaPEDDze3h =l4kc -----END PGP SIGNATURE----- --Px68sada/aQXkwG2--