Hallo List,
The BK tree of today changed the data returned in /proc/stat.
A 'vmstat -n 10' immediatly segfaults after reading ...
open("/proc/stat", O_RDONLY) = 6
read(6, "cpu 404408 506514 8240 154301 1"..., 4095) = 714
close(6) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
I'll try to prove a diff between 2.4.18 and BK current later
this evening ...
cheers,
Patrick
On Sat, 2002-10-05 at 13:12, Patrick Mau wrote:
> The BK tree of today changed the data returned in /proc/stat.
> A 'vmstat -n 10' immediatly segfaults after reading ...
>
> open("/proc/stat", O_RDONLY) = 6
> read(6, "cpu 404408 506514 8240 154301 1"..., 4095) = 714
> close(6) = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
The format changed, on purpose. You need vmstat from a newer version of
procps. The newest version (2.0.9) and CVS dumps as-of yesterday are
available at:
http://tech9.net/rml/procps
as both tarballs and RPM packages.
Robert Love
Am Samstag, 5. Oktober 2002 17:59 schrieb Robert Love:
> On Sat, 2002-10-05 at 13:12, Patrick Mau wrote:
>
> > The BK tree of today changed the data returned in /proc/stat.
> > A 'vmstat -n 10' immediatly segfaults after reading ...
> >
> > open("/proc/stat", O_RDONLY) = 6
> > read(6, "cpu 404408 506514 8240 154301 1"..., 4095) = 714
> > close(6) = 0
> > --- SIGSEGV (Segmentation fault) ---
> > +++ killed by SIGSEGV +++
>
> The format changed, on purpose. You need vmstat from a newer version of
> procps. The newest version (2.0.9) and CVS dumps as-of yesterday are
> available at:
>
> http://tech9.net/rml/procps
>
> as both tarballs and RPM packages.
2.5.40/2.5.40-mcp1 gave me same.
"top" showed only one CPU.
Solution:
Get 2.5.40-ac3. Alan "fixed" that.
--
Dieter N?tzel
Graduate Student, Computer Science
University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de (replace at with @)
On Sat, 2002-10-05 at 14:41, Dieter N?tzel wrote:
> 2.5.40/2.5.40-mcp1 gave me same.
> "top" showed only one CPU.
>
> Solution:
>
> Get 2.5.40-ac3. Alan "fixed" that.
I think (and I could be wrong, I have been once or twice before) that
what you are describing is separate from the issue I am talking about
and Patrick Mau reported.
In the current BK (not 2.5.40) I believe Linus merged a patch from
Andrew that changed /proc/stat syntax. This will break old vmstat
binaries. You need to upgrade to the above version, at least.
Robert Love