From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 18:40:38 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51A9637B401 for ; Wed, 23 Apr 2003 18:40:38 -0700 (PDT) Received: from web21503.mail.yahoo.com (web21503.mail.yahoo.com [66.163.169.14]) by mx1.FreeBSD.org (Postfix) with SMTP id E73E943FB1 for ; Wed, 23 Apr 2003 18:40:37 -0700 (PDT) (envelope-from rmhlldr@yahoo.co.uk) Message-ID: <20030424014037.59327.qmail@web21503.mail.yahoo.com> Received: from [194.44.215.97] by web21503.mail.yahoo.com via HTTP; Thu, 24 Apr 2003 02:40:37 BST Date: Thu, 24 Apr 2003 02:40:37 +0100 (BST) From: =?iso-8859-1?q?RMH?= To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: top failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rhett@alasir.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 01:40:38 -0000 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