Re: 2.5.40 (BK of today) vmstat SIGSEGV after reading /proc/stat

Dieter Nützel (Dieter.Nuetzel@hamburg.de)
Sat, 5 Oct 2002 20:41:18 +0200


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 @)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/