Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2018 19:56:26 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, current <current@freebsd.org>, Mateusz Guzik <mjguzik@gmail.com>
Subject:   Re: top: sysctl(vfs.bufspace...) expected 8, got 4
Message-ID:  <20180222195653.757840c3@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <1519322026.91697.135.camel@freebsd.org>
References:  <CAG6CVpUxXgNe1ZoXrzthPcgO=SwDkg-4f-NyME=GTbvdLCiUjw@mail.gmail.com> <201802211818.w1LII7fh087166@pdx.rh.CN85.dnsmgr.net> <CACNAnaGuCT%2B0R3zeHbB=YEXu074f38JWLkJ8OrZAQ0boXrXTjw@mail.gmail.com> <20180221200551.718ab72f@thor.intern.walstatt.dynvpn.de> <20180222184218.2da3db1a@thor.intern.walstatt.dynvpn.de> <1519322026.91697.135.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/hVsXnv1fbz7hrH5ak8TnaBS
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Am Thu, 22 Feb 2018 10:53:46 -0700
Ian Lepore <ian@freebsd.org> schrieb:

> On Thu, 2018-02-22 at 18:41 +0100, O. Hartmann wrote:
> > Am Wed, 21 Feb 2018 20:05:24 +0100
> > "O. Hartmann" <o.hartmann@walstatt.org> schrieb:
> >  =20
> > >=20
> > > On CURRENT ( 12.0-CURRENT FreeBSD 12.0-CURRENT #196 r329679: Tue
> > > Feb 20 23:06:15 CET
> > > 2018 amd64) I'm honored by this nice bug when calling top:
> > >=20
> > > top: sysctl(vfs.bufspace...) expected 8, got 4
> > >=20
> > >=20
> > > Regards,
> > >=20
> > > oh =20
> > I still can not use "top", it quits with the error mentioned above.
> > Whats is wrong with
> > my setup?
> >  =20
>=20
> It seems like the two big candidates must be mismatch between kernel
> and userland, or maybe 32/64-bit mismatch between the kernel and top.
>=20
> What's the output of
>=20
> =A0 uname -pmUK
amd64 amd64 1200058 1200058

> =A0 file `which top`
/usr/bin/top: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynam=
ically linked,
interpreter /libexec/ld-elf.so.1, for FreeBSD 12.0 (1200058), FreeBSD-style=
, stripped
> =A0 ldd `which top`
/usr/bin/top:
        libncursesw.so.8 =3D> /lib/libncursesw.so.8 (0x800258000)
        libm.so.5 =3D> /lib/libm.so.5 (0x8002bd000)
        libkvm.so.7 =3D> /lib/libkvm.so.7 (0x8002ed000)
        libjail.so.1 =3D> /lib/libjail.so.1 (0x800300000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800309000)
        libelf.so.2 =3D> /lib/libelf.so.2 (0x800712000)
>=20
> -- Ian
>=20

... so ...

@ Mateusz Guzik: I missed your patch - didn't apply clean, was rejected and=
 I
accidentally build a "usual" kernel. Will try again.=20

At revision 329831, the target line in question is at line 414, not 423 as =
of your patch
(old source?).

--=20
O. Hartmann

Ich widerspreche der Nutzung oder =DCbermittlung meiner Daten f=FCr
Werbezwecke oder f=FCr die Markt- oder Meinungsforschung (=A7 28 Abs. 4 BDS=
G).

--Sig_/hVsXnv1fbz7hrH5ak8TnaBS
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWo8SdQAKCRDS528fyFhY
lGKYAgCTX5X+6qNQykHhZ2+zAWJiLVSiXjxIcoIkQXBxLJADx90jHbtupVii0YOs
Uy3uDWKM9D3MiOE3GEuWE+Ux5FF+AgCFCVkoczgkV7MLnx0hvNvv3n3vTeX0GE7f
Kwp8nIrs5WzV0rtVSQGN2+SYqXFao3XWufyFByKy6UhN7v6wOpYv
=Awau
-----END PGP SIGNATURE-----

--Sig_/hVsXnv1fbz7hrH5ak8TnaBS--



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