From owner-freebsd-current Fri Nov 24 23:26:28 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA07911 for current-outgoing; Fri, 24 Nov 1995 23:26:28 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA07904 for ; Fri, 24 Nov 1995 23:26:26 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id XAA14715; Fri, 24 Nov 1995 23:25:52 -0800 From: Julian Elischer Message-Id: <199511250725.XAA14715@ref.tfs.com> Subject: Re: w/ps broke...normal?' To: scrappy@hub.org (Marc G. Fournier) Date: Fri, 24 Nov 1995 23:25:51 -0800 (PST) Cc: current@freebsd.org In-Reply-To: from "Marc G. Fournier" at Nov 25, 95 00:56:24 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1294 Sender: owner-current@freebsd.org Precedence: bulk It's not uncommon.. also netstat and a few others often break.. you must install the new includes from the new kenrel tree before you can compile new working ps and w (kernel structures have changed) > > > Hi... > > Is it normal for w and ps to break after installing a new > kernel? I'm getting the following error after rebooting, and I've > gone to the trouble of recompiling 'w', and get the same error: > > hub# bsdmake > cc -O -c /usr/src/usr.bin/w/../../bin/ps/fmt.c > cc -O -c pr_time.c > cc -O -c proc_compare.c > cc -O -c w.c > cc -O -o w fmt.o pr_time.o proc_compare.o w.o -lkvm > gzip -c uptime.1 > uptime.1.gz > gzip -c w.1 > w.1.gz > hub# ./w > 12:53AM up 9 mins, 5 users, load averages: 1.45, 0.98, 0.48 > USER TTY FROM LOGIN@ IDLE WHAT > w: proc size mismatch (29008 total, 620 chunks): Undefined error: 0 > hub# > > Now, I haven't had a chance to recompile the libraries yet, > so ... > > That's probably it...I need the new -lkvm? > > If that's all it is, then I won't panic. If it isn't supposed > to fail, then I'll panic :) > > Thanks... > > Marc G. Fournier | Knowledge, Information and Communications, Inc (ki.net) > scrappy@hub.org | > soon to be: | > scrappy@ki.net | For more information, send me email. > >