*BSD News Article 46139


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!hookup!ddsw1!news.mcs.net!not-for-mail
From: chilton@MCS.COM (Christopher Hilton)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: -current w/ps problem
Date: 27 Jun 1995 17:04:38 -0500
Organization: /usr/lib/news/organi[sz]ation
Lines: 28
Message-ID: <3spv9m$o1o@Mars.mcs.com>
References: <3spq4e$f58@solaris.cc.vt.edu>
NNTP-Posting-Host: mars.mcs.com

In article <3spq4e$f58@solaris.cc.vt.edu>,
Leo Bicknell <bicknell@ussenterprise.ufp.org> wrote:
>	I just installed current here (via the binary snapshot)
>to see if it would fix some problems we were having with NetBSD.
>It did, but it introduced a new little bug.  w and ps both
>report a size mismatch and will not display information.  They
>both work fine with the generic kernel, but not with any I 
>build.  The kernels I have built have been the generic kernel with
>some of the stuff we don't use taken out (IDE controller, mice,
>ethernet drivers, etc).  Anyone seen this problem before?
>Know how to fix it?

If I remember correctly the ps and w command rely on the size of some
kernel structures to work.  This means that you have to change ps and
w commands if you've changed the revision of the kernel that you are
running.

C.

-- 
Christopher Sean Hilton	                       E-mail: chilton@mcs.com
----------------------------------------------------------------------
ICBM address:           | "Thus it is said if you know them and know 
  42 07 39 N/87 49 44 W | yourself, your victory will not be imperiled.
For PGP key finger:     | If you know Heaven and you know Earth, your 
     chilton@mcs.com    | victory will be complete." - Sun Tsu
----------------------------------------------------------------------