From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 19 07:43:36 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6056416A4DD for ; Wed, 19 Jul 2006 07:43:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91E8643D4C for ; Wed, 19 Jul 2006 07:43:35 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.6/8.13.6) with ESMTP id k6J7hVu8079947; Wed, 19 Jul 2006 09:43:32 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id B422FB8A1; Wed, 19 Jul 2006 09:43:31 +0200 (CEST) Date: Wed, 19 Jul 2006 09:43:31 +0200 From: Roland Smith To: Jonathan Fosburgh Message-ID: <20060719074331.GA8398@slackbox.xs4all.nl> References: <200607182036.35123.jonathan@fosburgh.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <200607182036.35123.jonathan@fosburgh.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: amd64@freebsd.org Subject: Re: FreeBSD/i386 inside a jail on FreeBSD/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 07:43:36 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 18, 2006 at 08:36:34PM -0500, Jonathan Fosburgh wrote: > I am trying to setup a jail on my amd64 system (6.1-STABLE). I have the = jail=20 > installed and I can log into it, even remotely (it is running on a privat= e=20 > IP, I am using pf with rdr rules). However, certain things are not workin= g: =20 > First, ps doesn't work right. I have procfs enabled and /proc on the jai= l=20 > does have entries, but commands such as ps and top fail. ps just prints = out=20 > the column headers, and top fails with kvm_open: kinfo_proc size mismatch= =20 > (expected 768, got 1088). I assume this is due to actually using the amd= 64=20 > procfs. Is there anyway to make this work? One of the things I am trying= to=20 > do is make wine work, but since the jail uses the amd64 kernel, there is = no=20 > user_ldt and so wine fails. I have seen that at least some Linux distros= =20 > (Ubuntu comes to mind) use chroot environments to run wine on amd64, and = I=20 > was hoping that something similar could be done in FreeBSD. Does anyone = have=20 > pointers? An easy way to do it would be to run FreeBSD/i386 (or even windows) inside an emulator like qemu. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEveKjEnfvsMMhpyURAglEAJ9ehPWHtfNTxtxafRJb67oaQrZMkQCfUdsr oa/YFmGKLVpvcT4X0w9YHDM= =0DiV -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--