Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2001 14:17:44 -0800
From:      Kris Kennaway <kris@FreeBSD.ORG>
To:        beirne@limerick.chicago.il.us
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: top and pstat problem.
Message-ID:  <20010126141744.A85813@citusc17.usc.edu>
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
References:  <200101262209.f0QM9Yo09861@limerick.chicago.il.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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