From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 01:01:30 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8119316A41F for ; Sat, 24 Sep 2005 01:01:30 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from makeworld.com (makeworld.com [216.201.118.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6EEA43D49 for ; Sat, 24 Sep 2005 01:01:29 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from localhost (localhost.com [127.0.0.1]) by makeworld.com (Postfix) with ESMTP id F374E60E8; Fri, 23 Sep 2005 17:46:16 -0500 (CDT) Received: from makeworld.com ([127.0.0.1]) by localhost (makeworld.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55377-06; Fri, 23 Sep 2005 17:46:14 -0500 (CDT) Received: from [216.201.118.138] (racerx.makeworld.com [216.201.118.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by makeworld.com (Postfix) with ESMTP id E3C1260E0; Fri, 23 Sep 2005 17:46:12 -0500 (CDT) Message-ID: <433485C3.1010408@makeworld.com> Date: Fri, 23 Sep 2005 17:46:27 -0500 From: Chris User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050910) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland References: <20050923183340.GE2474@polands.org> In-Reply-To: <20050923183340.GE2474@polands.org> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=C01BC363 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.3 (20050822) at makeworld.com - Isn't it ironic Cc: questions@freebsd.org Subject: Re: top and ps fail on 6.0-BETA5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: racerx@makeworld.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 01:01:30 -0000 Doug Poland wrote: > Hello, > > I've noticed that top and ps are failing on my recently re-built > 6.0-BETA5 box. Ordinarilly that means that the "world" and the "kernel" > are out of sync. However, I've cvsup'd and rebuilt and installed world > and GENERIC (several times). > > Yesterday I rebuilt all my ports and today did a fresh > cvsup/rebuild/install. Still seeing the message: > > djp@ammon% top > kvm_open: kinfo_proc size mismatch (expected 648, got 768) > top: Out of memory. > > Here's uname: > > FreeBSD ammon.polands.org 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 23 12:07:46 CDT 2005 djp@ammon.polands.org:/usr/obj/usr/src/sys/GENERIC i386 > > /usr/src/UPDATING says: > 20050609: > Changes were made to kinfo_proc in sys/user.h. Please recompile > userland, or commands like `fstat', `pkill', `ps', `top' and `w' > will not behave correctly. > > The API and ABI for hwpmc(4) have changed with the addition > of sampling support. Please recompile lib/libpmc(3) and > usr.sbin/{pmcstat,pmccontrol} > > > I've googled the lists but have found nothing on this. I must be doing > something wrong. > I think the issue lies in the order you do things AFTER you cvsup the src tree. -- Best regards, Chris If the assumptions are wrong, the conclusions aren't likely to be very good.