From owner-freebsd-questions Fri Jan 26 14:18:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id AB80237B401 for ; Fri, 26 Jan 2001 14:18:32 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.1/8.11.1) id f0QMHiU85894; Fri, 26 Jan 2001 14:17:44 -0800 (PST) (envelope-from kris) Date: Fri, 26 Jan 2001 14:17:44 -0800 From: Kris Kennaway To: beirne@limerick.chicago.il.us Cc: freebsd-questions@FreeBSD.ORG Subject: Re: top and pstat problem. Message-ID: <20010126141744.A85813@citusc17.usc.edu> References: <200101262209.f0QM9Yo09861@limerick.chicago.il.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101262209.f0QM9Yo09861@limerick.chicago.il.us>; from beirne@limerick.chicago.il.us on Fri, Jan 26, 2001 at 04:09:34PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2001 at 04:09:34PM -0600, beirne@limerick.chicago.il.us wro= te: > Hello, > I have a machine that I duplicated the drive from another working > machine that is running FreeBSD 4.2 upgraded from FreeBSD 4.1.1. >=20 > On the original machine both the "top" and "pstat" command work fine, > but on the cloned machine, which is used as a firewall, they do not work. > Pstat comes back with a "pstat: undefined symbol: _numvnodes" and > top reports "top: nlist failed". These both seem to point to > the kvm functions. The kvm_openfiles seems to work in pstat, but > the kvm_nlist of the open file handle fails. Does anyone have any idea > what could cause this? You didn't boot your system through the loader (/boot/loader). If you tell boot0 to load the kernel directly, these symbols fail to resolve at runtime. Kris --=20 NOTE: To fetch an updated copy of my GPG key which has not expired, finger kris@FreeBSD.org --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6cfeIWry0BWjoQKURAn+AAJwOlzKy35fcjrzgQuVhz52U6pqAagCfQQJ6 xm2PKnWZ/1/S2gUbIHQvKlo= =0J6Q -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message