Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2019 11:08:36 -0700
From:      Christer Edwards <christer.edwards@gmail.com>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Cc:        jail@freebsd.org
Subject:   Re: netstat in a jail, 12 vs 13
Message-ID:  <CAH2d3%2Bvhxc8tfCUiAun7amxPdD7SKoO=1_vZm06oprYspJ-qzA@mail.gmail.com>
In-Reply-To: <20190131162845.GA83592@mail.michaelwlucas.com>
References:  <20190131162845.GA83592@mail.michaelwlucas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2019 at 9:29 AM Michael W. Lucas <mwlucas@michaelwlucas.com>
wrote:

>
> 12.0 jail on -current host:
>
> root@loghost:~ # sockstat -4
> sockstat: struct xinpgen size mismatch
> root@loghost:~ # netstat -na -f inet
> netstat: kvm not available: /dev/mem: No such file or directory
> Some tcp sockets may have been deleted.
> Some udp sockets may have been deleted.


I have seen this happen anytime I have run a jail where the version does
not exactly match the host. sockstat always fails with 'sockstat: struct
xinpgen size mismatch'

Very interested in a solution / patch / workaround myself.

Christer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH2d3%2Bvhxc8tfCUiAun7amxPdD7SKoO=1_vZm06oprYspJ-qzA>