Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: kern/51549 (Changes in NetBSD 7 kernel break all apps in PKGSRC using Network Statistics)

0 views
Skip to first unread message

le...@netbsd.org

unread,
Oct 11, 2016, 3:52:07 AM10/11/16
to kern-bu...@netbsd.org, pkg-m...@netbsd.org, netbs...@netbsd.org, gnats...@netbsd.org, le...@netbsd.org, ir...@unix-world.org
Synopsis: Changes in NetBSD 7 kernel break all apps in PKGSRC using Network Statistics

Responsible-Changed-From-To: pkg-manager->kern-bug-people
Responsible-Changed-By: le...@NetBSD.org
Responsible-Changed-When: Tue, 11 Oct 2016 07:52:00 +0000
Responsible-Changed-Why:
Probably a kernel COMPAT_60 related problem...



Martin Husemann

unread,
Oct 11, 2016, 4:10:11 AM10/11/16
to kern-bu...@netbsd.org, gnats...@netbsd.org, netbs...@netbsd.org, ir...@unix-world.org
The following reply was made to PR kern/51549; it has been noted by GNATS.

From: Martin Husemann <mar...@duskware.de>
To: gnats...@NetBSD.org
Cc: le...@NetBSD.org, ir...@unix-world.org
Subject: Re: kern/51549 (Changes in NetBSD 7 kernel break all apps in PKGSRC using Network Statistics)
Date: Tue, 11 Oct 2016 10:07:20 +0200

We do not provide compat for kvm groveling apps, they have to be recompiled.

Apps should avoid that as hard as they can and use sysctl based interfaces
instead.

Martin

ir...@unix-world.org

unread,
Oct 11, 2016, 8:36:46 AM10/11/16
to gnats...@netbsd.org, kern-bu...@netbsd.org, gnats...@netbsd.org, netbs...@netbsd.org
I compiled the reported apps from source using pkgsrc current, pkgsrc 2016Q3 and also older versions of pkgsrc.
By the way libgtop and xosview are standard apps and nobody can change them as this, they are too complex.
But they are working OK in versions prior to NetBSD 7 !!
By example they work ok in NetBSD 6.1, 6.0, 5.2, 5.1, 5.0, 4.x

Radu

ir...@unix-world.org

unread,
Oct 11, 2016, 8:36:51 AM10/11/16
to kern-bu...@netbsd.org, gnats...@netbsd.org, netbs...@netbsd.org, ir...@unix-world.org
The following reply was made to PR kern/51549; it has been noted by GNATS.

From: "ir...@unix-world.org" <ir...@unix-world.org>
To: gnats...@NetBSD.org
Cc: kern-bu...@netbsd.org, gnats...@netbsd.org,
netbs...@netbsd.org
Subject: Re: kern/51549 (Changes in NetBSD 7 kernel break all apps in PKGSRC using Network Statistics)
Date: Tue, 11 Oct 2016 13:31:38 +0300

I compiled the reported apps from source using pkgsrc current, pkgsrc 2016Q3=
and also older versions of pkgsrc.
By the way libgtop and xosview are standard apps and nobody can change them a=
s this, they are too complex.
But they are working OK in versions prior to NetBSD 7 !!
By example they work ok in NetBSD 6.1, 6.0, 5.2, 5.1, 5.0, 4.x

Radu

> On 11 Oct 2016, at 11:10, Martin Husemann <mar...@duskware.de> wrote:
>=20
> The following reply was made to PR kern/51549; it has been noted by GNATS.=

>=20
> From: Martin Husemann <mar...@duskware.de>
> To: gnats...@NetBSD.org
> Cc: le...@NetBSD.org, ir...@unix-world.org
> Subject: Re: kern/51549 (Changes in NetBSD 7 kernel break all apps in PKGS=
RC using Network Statistics)
> Date: Tue, 11 Oct 2016 10:07:20 +0200
>=20
> We do not provide compat for kvm groveling apps, they have to be recompile=
d.
>=20
> Apps should avoid that as hard as they can and use sysctl based interfaces=

> instead.
>=20
> Martin
>=20


David Holland

unread,
Oct 11, 2016, 8:50:08 AM10/11/16
to kern-bu...@netbsd.org, gnats...@netbsd.org, netbs...@netbsd.org, ir...@unix-world.org
The following reply was made to PR kern/51549; it has been noted by GNATS.

From: David Holland <dholla...@netbsd.org>
To: gnats...@NetBSD.org
Cc:
Subject: Re: kern/51549 (Changes in NetBSD 7 kernel break all apps in PKGSRC
using Network Statistics)
Date: Tue, 11 Oct 2016 12:46:03 +0000

On Tue, Oct 11, 2016 at 11:40:01AM +0000, ir...@unix-world.org wrote:
> I compiled the reported apps from source using pkgsrc current,
> pkgsrc 2016Q3 and also older versions of pkgsrc.
> By the way libgtop and xosview are standard apps and nobody can
> change them as this, they are too complex.

On the contrary, this is exactly the kind of situation that the
patches in pkgsrc are for.

> But they are working OK in versions prior to NetBSD 7 !!
> By example they work ok in NetBSD 6.1, 6.0, 5.2, 5.1, 5.0, 4.x

If they are using /dev/kmem (or equivalently, libkvm) that is purely
an accident.

However, if so they ought to work when recompiled for NetBSD 7.x, so
probably something else is going on.

--
David A. Holland
dhol...@netbsd.org

0 new messages