FreeBSD/i386 inside a jail on FreeBSD/amd64

Roland Smith rsmith at xs4all.nl
Wed Jul 19 07:43:36 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?

An easy way to do it would be to run FreeBSD/i386 (or even windows)
inside an emulator like qemu.

Roland
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060719/103ac55a/attachment.pgp


More information about the freebsd-amd64 mailing list