Subject: Re: top
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Patrick Welche <prlw1@cam.ac.uk>
List: current-users
Date: 07/16/1998 11:52:05
Manuel Bouyer wrote:
> 
> On Jul 15, Patrick Welche wrote
> > Is anyone else having trouble with top and libc.so.12.29?
> > 
> > % top
> > top: kvm_read for _cnt: Bad address
> > ...
> >    267 top      CALL __sysctl(0xefbfd8b4,0x2,0xefbfd8bc,0xefbfd8b0,0,0)
> >    267 top      RET   __sysctl 0
> >    267 top      CALL  pread(0x4,0xefbfd904,0x98,0,0,0)
> >    267 top      RET   pread -1 errno 14 Bad address
> > ...
> 
> Maybe you just need to rebuild top ?

I'm afraid I already tried that: before rebuilding I had a message
from libkvm saying it couldn't find pread ? (from memory). Just in
case, I rebuilt top, rebuilt the kernel, rebooted, rebuilt top and
still get

% top
top: kvm_read for _cnt: Bad address

gdb doesn't get me anywhere. Thing is it works for others, but I don't
really know where to look!

Cheers,

Patrick