Date: Thu, 07 Dec 2000 12:36:09 -0800 From: Matt Wilbur <matt@efs.org> To: keith <keith@webair.com> Cc: questions@FreeBSD.ORG Subject: Re: kernel / world out of sync? Message-ID: <3A2FF4B9.A729E485@efs.org> References: <Pine.BSF.4.10.10012071505530.70315-100000@brazil.webair.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <keith@webair.com> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2FF4B9.A729E485>