Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 07:56:30 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Jonathan Fosburgh <jonathan@fosburgh.org>
Cc:        amd64@freebsd.org
Subject:   Re: FreeBSD/i386 inside a jail on FreeBSD/amd64
Message-ID:  <8664hut9wx.fsf@xps.des.no>
In-Reply-To: <200607182036.35123.jonathan@fosburgh.org> (Jonathan Fosburgh's message of "Tue, 18 Jul 2006 20:36:34 -0500")
References:  <200607182036.35123.jonathan@fosburgh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Fosburgh <jonathan@fosburgh.org> writes:
> 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=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).

Neither ps nor top use procfs.

The error message you get means the userland inside the jail does not
match the kernel (and userland) outside the jail.  Are you trying to
run a 32-bit userland on a 64-bit kernel?

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8664hut9wx.fsf>