From owner-freebsd-ports Sun Jan 12 19:25:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA15595 for ports-outgoing; Sun, 12 Jan 1997 19:25:28 -0800 (PST) Received: from spinner.DIALix.COM (spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA15567 for ; Sun, 12 Jan 1997 19:25:22 -0800 (PST) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.4/8.8.4) with ESMTP id LAA01731; Mon, 13 Jan 1997 11:24:20 +0800 (WST) Message-Id: <199701130324.LAA01731@spinner.DIALix.COM> To: "Jordan K. Hubbard" cc: Chuck Robey , andrew@ugh.net.au, freebsd-gnats-submit@freebsd.org, freebsd-ports@freefall.freebsd.org Subject: Re: ports/2467: tops display is corrupt In-reply-to: Your message of "Sun, 12 Jan 1997 16:16:21 PST." <3827.853114581@time.cdrom.com> Date: Mon, 13 Jan 1997 11:24:20 +0800 From: Peter Wemm Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: > > about it to guess. Lars Koeller is the port author, and I wrote him, but > > Great, then I'll assign this one to you! :-) > > Jordan I think this is just a local or packaging problem. The port builds and works fine on both 2.2 and -current. I suspect the problem is that there is an out of date libkvm or something in the way. On 2.2: peter@haywire[11:18am]~ports/sysutils/top-106> uname -a FreeBSD haywire.DIALix.COM 2.2-RELEASE FreeBSD 2.2-RELEASE #34: Wed Dec 25 01:09:51 WST 1996 peter@haywire.DIALix.COM:/home/src/sys/compile/HAYWIRE i386 [...] cc -DHAVE_GETOPT -O -c getopt.c cc -DHAVE_GETOPT -O -c machine.c rm -f top cc -o top top.o commands.o display.o screen.o username.o utils.o version.o getopt.o machine.o -ltermcap -lm -lkvm peter@haywire[11:16am]~ports/sysutils/top-103> su [[ make install etc ]] peter@haywire[11:19am]~ports/sysutils/top-107> l /usr/local/bin/top 36 -rwxr-sr-x 1 root kmem 36864 Jan 13 11:17 /usr/local/bin/top* peter@haywire[11:19am]~ports/sysutils/top-108> date Mon Jan 13 11:19:16 WST 1997 peter@haywire[11:19am]~ports/sysutils/top-109> /usr/local/bin/top last pid: 12309; load averages: 0.11, 0.28, 0.20 11:19:48 97 processes: 3 running, 93 sleeping, 1 zombie CPU states: 1.1% user, 0.0% nice, 2.3% system, 0.8% interrupt, 95.8% idle Mem: 11M Active, 2976K Inact, 10M Wired, 4684K Cache, 3540K Buf, 1460K Free Swap: 128M Total, 52M Used, 76M Free, 40% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 12308 peter 28 0 376K 876K RUN 0:00 2.55% 1.22% top 6846 root 2 0 1088K 496K select 5:45 0.04% 0.04% gated 12309 root 28 0 288K 152K RUN 0:00 0.00% 0.00% date 358 root 10 0 476K 168K wait 0:06 0.00% 0.00% sh 11346 peter 18 0 784K 1044K pause 0:01 0.00% 0.00% tcsh [...] It also works perfectly on -current (I tested it there too from a 'make clean'). Did you build the package yourself, or did you get it via ftp? If you got the package via ftp, where did you get it? The package is out of date and needs to be rebuilt. (Most likely Satoshi didn't rebuild top after some kernel structures changed). If you build it by hand and it's failing, make sure you rebuild and reinstall libkvm. Cheers, -Peter