From owner-freebsd-questions Thu Dec 7 12:36:35 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 12:36:32 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from photon.photon.com (unipod.photon.com [216.141.160.132]) by hub.freebsd.org (Postfix) with ESMTP id D370737B400 for ; Thu, 7 Dec 2000 12:36:28 -0800 (PST) Received: from efs.org (kenny.photon.com [172.16.11.30]) by photon.photon.com (8.9.3/8.9.1) with ESMTP id MAA1739294; Thu, 7 Dec 2000 12:36:09 -0800 (PST) Message-ID: <3A2FF4B9.A729E485@efs.org> Date: Thu, 07 Dec 2000 12:36:09 -0800 From: Matt Wilbur X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: keith Cc: questions@FreeBSD.ORG Subject: Re: kernel / world out of sync? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey! I'm really curious to hear anything you find out. I'm having the EXACT same problems, but have a different setup... 4.1R upgraded via binary upgrade (sysinstall) to 4.2R. cloned the system disk (dump/restore) to another disk which is the nfs mounted root for diskless clients. the system itself is fine, vmstat, top, pstat all work. the diskless client boots, mounts root, runs startup scripts... everything works, BUT. I get those exact same errors when I run vmstat. top gives nlist errors, pstat -s gives undefined symbol: _numvnodes. I've rebuilt libkvm, rebuilt the kernel, ensured /dev/mem, /dev/kmem are OK, /proc is mounted, regenerated ld-elf.so.hints, I have no clue what is broken! running top/pstat through ktrace, both are having problems when the linker tries to resolve those symbols, from libkvm, it looks like. (kldsym() fails) I'm hoping that your solution will work for me too, in some way :) Anyone? Matt Wilbur PRA, Inc. keith wrote: > > Hi guys, > > I'm getting these errors: > {webairadmin@gremlin 3:07pm} ~> vmstat > vmstat: undefined symbols: > _kmemstatistics _bucket _zlist > > In my experience that usually means the world and kernel are out of sync, > but I'm wondering if there can be any other causes. I first had > 4.0-release on this machine, installed from the ISO, It had the same > errors, I then cvsupped and make {build,install}world and kernel fine... > but I still get the same errors. > > Here's what I'm running: > > {webairadmin@gremlin 3:07pm} ~> uname -a > FreeBSD gremlin.webair.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Dec 7 > 13:27:59 EST 2000 root@gremlin.webair.com:/usr/obj/usr/src/sys/GREMLIN > i386 > > Freshly compiled today: > > {webairadmin@gremlin 3:07pm} ~> ls -l /kernel > -r-xr-xr-x 1 root wheel 2130424 Dec 7 13:31 /kernel* > {webairadmin@gremlin 3:07pm} ~> ls -l /usr/bin/top > -r-xr-sr-x 1 root kmem 32312 Dec 7 13:39 /usr/bin/top* > > Is there any other cause for this? I'm totally at a loss. > > Thanks, > > -- > Keith Simonsen > Webair Internet Development, Inc. > http://www.webair.com > -- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message