Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 1995 14:01:35 -0700 (PDT)
From:      Jake Hamby <jehamby@lightside.com>
To:        Rob Misiak <rdm@ic.net>
Cc:        current@freefall.FreeBSD.org
Subject:   Re: "proc size mismatch (14208 total, 620 chunks)"
Message-ID:  <Pine.BSF.3.91.950923135741.2132A-100000@localhost>
In-Reply-To: <199509232042.QAA00746@port14.hubbard2.t.ic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Sep 1995, Rob Misiak wrote:

> Ever since I started using -current (a couple days ago) I get the following
> message whenever I try to 'ps' or 'w':
> 
> proc size mismatch (14208 total, 620 chunks)
> 
> A friend suggested rebooting, but the problem persisted after reboot. I have
> the latest -current kernel (as of 4:30PM EDT Sat 23). The kernel is compiled
> with PPP (the one for pppd; not the one for the 'ppp' program,) Sony CDU31a,
> pcvt, and SysV options. Anyone know how to fix this?
> 
> Rob

This is a pretty common question, maybe it should be in the FAQ? :-)  I 
know I stumbled on it when I first tried to use stable.  The problem is 
that programs like ps and w, as well as pstat, vmstat, and my personal 
favorite, top (from the ports collection), all find out their information 
by poking around into raw kernel data structures.  When you upgrade the 
kernel, all those structures change and the old programs don't work 
anymore.  You'll need to get the entire -current source and rebuild 
EVERYTHING to be completely safe (you'll pick up some enhancements to the 
other programs along the way, which is nice), or if you're really in a 
hurry, you can just recompile the libkvm library (which is shared so 
programs like ps should pick up the changes automatically).. 

------------------------------------------------------------------------------
     Jake Hamby                         |   E-Mail:  jehamby@lightside.com
  Student, Cal Poly University, Pomona  |   System Administrator, JPL
------------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950923135741.2132A-100000>