Re: 2.5.36-mm1

axel
2002-09-19T15:04:51Z

Hi Andrew!

On Wed, 18 Sep 2002, Andrew Morton wrote:

> A reminder that this changes /proc files. Updated top(1) and
> vmstat(1) source is available at http://surriel.com/procps/

Well. I have retrieved procps from CVS and built it. But then vmstat gets an
segmentation fault. It looks like this..

prester:/root# vmstat
procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us sy
id
Segmentation fault
Exit 139

And with strace it looks like this...

...
getdents64(0x5, 0x804d038, 0x400, 0) = 0
close(5) = 0
open("/proc/meminfo", O_RDONLY) = 5
lseek(5, 0, SEEK_SET) = 0
read(5, "MemTotal: 191112 kB\nMemFre"..., 1023) = 543
open("/proc/stat", O_RDONLY) = 6
read(6, "cpu 35477 2 4565 80407 9871\ncpu"..., 8191) = 815
close(6) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Don't know what I have done wrong. Or is the procps package for mm-series a
special one differing from the regular procps by Rik?

Best regards,
Axel