From owner-freebsd-current Sat Dec 13 19:31:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA02401 for current-outgoing; Sat, 13 Dec 1997 19:31:53 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA02375 for ; Sat, 13 Dec 1997 19:31:44 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id WAA05829; Sat, 13 Dec 1997 22:31:38 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199712140331.WAA05829@dyson.iquest.net> Subject: Re: ps proc size mismatch - HELP ME In-Reply-To: <19971214022555.29020.rocketmail@send1b.yahoomail.com> from Charlie Roots at "Dec 13, 97 06:25:55 pm" To: osiris2002@yahoo.com (Charlie Roots) Date: Sat, 13 Dec 1997 22:31:38 -0500 (EST) Cc: freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Charlie Roots said: > I cvsuped on 5/12/97 and build world, build kernel, all went fine. > > I cvsuped again 13/12/97 and build kernel only. > NOW, I am having this error whenever I type ps to get a list of active > processes. > > Any Idea what is going on, did I make a mistake somewhere or the > cvsuped files got soaped. > > Please Help. > You are not really indicating a bug, but an error that is a frequently asked question. One is usually only lucky that ps will continue to work between kernel revs. What you need to do is to rebuild libkvm, and then various programs that use it including ps, w, and a few others. Make sure that you re-cvsup libkvm and ps. All of these steps aren't always needed, and that is where we get caught with people who don't know about this problem :-(. (Basically, the abstraction for our interface between user and kernel data structures is in need of work.) -- John dyson@freebsd.org jdyson@nc.com