From owner-freebsd-questions Sat Aug 23 16:17:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA20044 for questions-outgoing; Sat, 23 Aug 1997 16:17:11 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts7-line15.uoregon.edu [128.223.150.62]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA20029 for ; Sat, 23 Aug 1997 16:17:03 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id QAA00270; Sat, 23 Aug 1997 16:15:49 -0700 (PDT) Date: Sat, 23 Aug 1997 16:15:49 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: foobar!ok@univers.cv.ua cc: questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <199708230142.EAA02687@Big.LITech.Lviv.UA> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 23 Aug 1997 foobar!ok@univers.cv.ua wrote: > I've just installed FreeBSD2.2.2 Since I was doing an upgrade from 2.1.x, > I copied certain initialization files from 2.1.x. to the new 2.2.2 > Everything seemed to be ok, except that when I run w or top, they didn't > work normally, saying: > ---w output--- > USER TTY FROM LOGIN@ IDLE WHAT > w: kvm_getprocs: Is a directory: Is a directory > > ---top output--- > kvm_open: kvm_getprocs: Is a directory > top: out of memory > > What can it be ? I haven't found anything that could help in kvm library > sources. You upgraded incorrectly. You needed to boot up the 2.2.2 install floppy and select the 'upgrade' option. This would have updated you properly. Now your binaries and kernel are out of sync. You need to build and install a 2.2.2 kernel. The sources are available as src/ssys.* in the distribution. Just cd to /usr/src/ and run 'cat /path/to/ssys.* | tar xzf -' to extract the binaries, then rebuild a kernel as usual. If you need to know how to build a kernel, see the FreeBSD handbook. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo