From owner-freebsd-current Sat Sep 23 14:00:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA00730 for current-outgoing; Sat, 23 Sep 1995 14:00:47 -0700 Received: from localhost.lightside.com (user59.lightside.com [198.81.209.59]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA00724 for ; Sat, 23 Sep 1995 14:00:43 -0700 Received: (from jehamby@localhost) by localhost.lightside.com (8.6.12/8.6.9) id OAA02142; Sat, 23 Sep 1995 14:01:35 -0700 Date: Sat, 23 Sep 1995 14:01:35 -0700 (PDT) From: Jake Hamby X-Sender: jehamby@localhost To: Rob Misiak cc: current@freefall.FreeBSD.org Subject: Re: "proc size mismatch (14208 total, 620 chunks)" In-Reply-To: <199509232042.QAA00746@port14.hubbard2.t.ic.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk 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 ------------------------------------------------------------------------------