Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2005 13:33:40 -0500
From:      Doug Poland <doug@polands.org>
To:        questions@freebsd.org
Subject:   top and ps fail on 6.0-BETA5
Message-ID:  <20050923183340.GE2474@polands.org>

next in thread | raw e-mail | index | archive | help
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.  

-- 
Regards,
Doug



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