Subject: Re: ps problem with UVM & 04/18/98 tar_files
To: None <current-users@NetBSD.ORG>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 04/19/1998 14:14:26
Paul M. Newhouse <newhouse@rockhead.com> typed:
:Platform i386:
:From the current tar_files 04/18/98:
:I had to put a "NOLINT=" in domestic/lib/libntp/Makefile
:to get that to compile and when running the new kernel and
:userland I get:
:  wanker[root-42]: ps 
:  ps: proc size mismatch (13816 total, 624 chunks)
:If I undefine these two things:
:48,49c48,49
:< #options 	UVM		# Use UVM instead of Mach VM.
:< #options 	PMAP_NEW	# new pmap interface; requires UVM
:---
:> options 	UVM		# Use UVM instead of Mach VM.
:> options 	PMAP_NEW	# new pmap interface; requires UVM
:then ps works ok.  Is this a know problem?  Apologies if this is
:well known and I just missed its being discussed.

Do you have in /etc/mk.conf:
  UVM=YES
  PMAP_NEW=YES

If not, put them in and rebuild lib/libkvm:
% rm .depend; make clean && make && make install 
then similarly rebuild
  bin/ps 
  libexec/rpc.rstatd
  usr.bin/fstat
  usr.bin/systat
  usr.bin/vmstat
  usr.bin/w
  usr.sbin/pstat
-- 
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/