FreeBSD/i386 inside a jail on FreeBSD/amd64

Andrew Reilly andrew-freebsd at
Thu Jul 20 23:43:24 UTC 2006

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?



More information about the freebsd-amd64 mailing list