Subject: Re: 3 wishes -2
To: T@W <lsp93@xs4all.nl>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-mac68k
Date: 07/12/1999 13:30:44
On Mon, 12 Jul 1999, T@W wrote:

> Colin Wood wrote:
>  >>> 2.about the testkernels:
> >>> maybe the following was coincidental but i noticed that with the 1.4D6 test
> >>> kernel the /proc got totally disarranged and pissed off ps.
> >>
> >>how did it get rearranged?
> 
> It happens with the 1.4D5 & 1.4D6 kernels
> ps gives a coredump and says:
> "Proc size mismatch
> WARNING:/proc does not provide valid data for all files"
> and shows some of the processes running but everything is between brackets.
> 
> Hope the above provides the info you wanted.

That's not a problem with "/proc" but a problem with your kernel and ps
being out of sync.

ps normally goes looking in kernel memory for info on running processes.
It looks in /netbsd to figure out where to look. If your running kernel,
/netbsd, and ps aren't in sync with each other, it looks in the wrong
place. That's what "Proc size mismatch" means.

ps now will look in /proc to try and tell you something of what's going
on. But not all the info available from kernel memory is available via
/proc. That's what the "WARNING:/proc does not provide valid data for all
files" message means.

Take care,

Bill