Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 02:40:37 +0100 (BST)
From:      =?iso-8859-1?q?RMH?= <rmhlldr@yahoo.co.uk>
To:        stable@freebsd.org
Subject:   top failure
Message-ID:  <20030424014037.59327.qmail@web21503.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424014037.59327.qmail>