top failure
RMH
rmhlldr at yahoo.co.uk
Wed Apr 23 18:40:38 PDT 2003
Hello gentlemen,
I've discovered an interesting failure on some machine running
4.7. It's so weird so I'd very unlikely notice it at all, but
thanks to top(1): when launched, instead of displaying some
useful figures it exits with an error: "top: nlist failed".
>From quick look it appears that kvm_nlist() returns NULL for
nlst[0].n_type. Strange, ignoring; next exit point is: "top:
kvm_read for _ccpu: Bad address" Something bad happens: kernel
virtual memory symbol table becomes unreadable, so kvm calls
fail... But system runs all right, has completed buildworld
today...
Source of the problem is objcopy(1), i.e. wiping symbols from
kernel to make it more compact. This shouldn't be a problem,
but libkvm holds another point of view...
---
Regards,
Rhett
__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
More information about the freebsd-stable
mailing list