Subject: Update: negative values using ps -aux
To: None <netbsd-help@netbsd.org>
From: Reinhold M. Roppert <netbsd-users@rmroppert.de>
List: netbsd-help
Date: 11/15/2005 13:17:18
Am 14 Nov 2005 um 11:44 hat Reinhold M. Roppert geschrieben:
> i get negative Values using ps -aux
>
> nbsd3:> ps -aux
> USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
> root 0 0.0 -204.5 0 134912 ?? DKs 10:13PM 0:00.00 [swapper]
> root 1 0.0 -1.1 68 736 ?? Is 10:13PM 0:00.14 init
On Mon, Nov 14, 2005 at 11:56:54AM -0500, Perry E. Metzger wrote:
>I remember that being a bug that was fixed -- in -current I don't get
> negatives for in-kernel procs.
Ok. I discovered, the negative values appear if the ram is more than 2 GB.
If i reduce the ram, the values seems to be correct.
There were bugs (23717, 24092) which are marked as closed since Dec. 2003 =
and
NETBSD 1.6.4_RC4 ! This seems to the be same Problem i have with Version 2=
.1.
sysctl gives
with 2 GB RAM:
hw.physmem=3D2147020800
hw.physmem64=3D2147020800
with 4 GB RAM:
hw.physmem=3D - 67571712
hw.physmem64=3D 4227395584
which is the same wrong value discribed in Probelm Report 23717 and 24092
I use port i386, Netbsd 2.1 fresh installed from CD, Kernel GENERIC,
Now the questions are:
Where are these values and the functions used and can this cause an instab=
ility of the
system?
I don't know where hw.physmem is the used all about.
What functions must be patched?
I=B4m not an developer so i asked obove questions.
Thank you for answers and
best regards.
R. M. Roppert