Subject: Re: MacBSD on CD-ROM?
To: Allen Briggs <briggs@puma.bevd.blacksburg.va.us>
From: Lawrence Kesteloot <kesteloo@cs.unc.edu>
List: macbsd-general
Date: 03/20/1995 15:33:47
> > Hi, the new kernel and X11R6 works great but since it's been
> > installed, the "ps" command doesn't work any longer. Where is the pb?
> 
> I thought that this was in a FAQ somewhere...
> 
> Q) I updated my kernel and some commands no longer work--like 'ps' and 'w'.
> 
> A) Several programs, including ps(1) and w(1), use information in the
>    kernel and will therefore break if any of the relevant data structures
>    change size.  To fix this problem, you can either recompile the
>    program in question (including libkvm, too), or, in the case of 'ps,'
>    you can make sure that /proc is mounted and use the 'procps' program
>    (available from the cray-ymp.acm.stuorg.vt.edu ftp site).

Well, from the FAQ at cray-ymp.acm.stuorg.vt.edu:/pub/NetBSD_Mac/docs/FAQ:

> 23. "ps" says "ps: proc size mismatch"; what's wrong?
>
> The "ps" program reads the kernel's data directly.  If the size of the
> process structure has changed in the kernel and "ps" has not been
> recompiled since, then there is a size mismatch.  Try to find a newer
> version of "ps" or compile your own.  (Get the source from
> agate.berkeley.edu:/pub/NetBSD/NetBSD-current/src/bin/ps.  Of course,
> make sure you also have the latest kernel sources to have the correct
> sys/proc.h.)

And from the info file that people get when they subscribe to macbsd-general:

> For general questions/answers/debate/help with MacBSD.
> FAQ available for FTP from cray-ymp.acm.stuorg.vt.edu.
> Please read it before posting.
> Send general questions to alice@cray-ymp.acm.stuorg.vt.edu.

Lawrence