From owner-freebsd-questions@FreeBSD.ORG Fri Sep 23 18:55:32 2005 Return-Path: X-Original-To: freebsd-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 5B51216A41F; Fri, 23 Sep 2005 18:55:32 +0000 (GMT) (envelope-from ean@hedron.org) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB46D43D46; Fri, 23 Sep 2005 18:55:31 +0000 (GMT) (envelope-from ean@hedron.org) Received: from localhost.hedron.org (localhost.hedron.org [127.0.0.1]) by prosporo.hedron.org (Postfix) with ESMTP id 52A2CC1C9; Fri, 23 Sep 2005 14:55:31 -0400 (EDT) From: Ean Kingston To: freebsd-questions@freebsd.org Date: Fri, 23 Sep 2005 14:55:30 -0400 User-Agent: KMail/1.8 References: <20050923183340.GE2474@polands.org> In-Reply-To: <20050923183340.GE2474@polands.org> X-Face: W{mkf[fd1042ubL1FZ(CABIMzn~rdu<:SW\^LF_RB' Cc: Doug Poland , 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 18:55:32 -0000 On September 23, 2005 02:33 pm, 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). Doug, Have you been tracking the freebsd-current mailing list? 6 is the bleeding edge of FreeBSD and problems with it tend to get discussed much more on -current than they do on -questions. > > 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. -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly.