From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 20 23:43:24 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 2B59016A4DA for ; Thu, 20 Jul 2006 23:43:24 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta03ps.mx.bigpond.com (omta03ps.mx.bigpond.com [144.140.82.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 898E343D49 for ; Thu, 20 Jul 2006 23:43:22 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.7.22]) by omta03ps.mx.bigpond.com with ESMTP id <20060720234320.TWOP6498.omta03ps.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 20 Jul 2006 23:43:20 +0000 Received: (qmail 99786 invoked by uid 501); 20 Jul 2006 23:43:17 -0000 Date: Fri, 21 Jul 2006 09:43:17 +1000 From: Andrew Reilly To: Jonathan Fosburgh Message-ID: <20060720234317.GA99687@duncan.reilly.home> References: <200607182036.35123.jonathan@fosburgh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200607182036.35123.jonathan@fosburgh.org> User-Agent: Mutt/1.4.2.1i 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: Thu, 20 Jul 2006 23:43:24 -0000 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 > installed and I can log into it, even remotely (it is running on a private > IP, I am using pf with rdr rules). However, certain things are not working: > First, ps doesn't work right. I have procfs enabled and /proc on the jail > does have entries, but commands such as ps and top fail. ps just prints out > the column headers, and top fails with kvm_open: kinfo_proc size mismatch > (expected 768, got 1088). I assume this is due to actually using the amd64 > procfs. Is there anyway to make this work? One of the things I am trying to > do is make wine work, but since the jail uses the amd64 kernel, there is no > user_ldt and so wine fails. I have seen that at least some Linux distros > (Ubuntu comes to mind) use chroot environments to run wine on amd64, and I > was hoping that something similar could be done in FreeBSD. Does anyone have > pointers? I've been wondering about running wine on my amd64 box, myself, but haven't got around to trying, yet. Why does it need to run in a jail? Wouldn't just running 32-bit winebin on a machine with the appropriate compatability libraries do the job? It's been a while since I've run wine at all. Does it have curly external dependancies, now? Cheers, -- Andrew