From owner-freebsd-questions Wed Feb 7 19:54:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 496AC37B4EC for ; Wed, 7 Feb 2001 19:54:09 -0800 (PST) Received: (qmail 41615 invoked by uid 100); 8 Feb 2001 03:54:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14978.6240.473691.794313@guru.mired.org> Date: Wed, 7 Feb 2001 21:54:08 -0600 (CST) To: Andrew BOGECHO Cc: questions@freebsd.org Subject: Re: top on SMP machines In-Reply-To: <20010207225015.A10847@cs.mcgill.ca> References: <79732223@toto.iv> <14977.64293.740160.631815@guru.mired.org> <20010207225015.A10847@cs.mcgill.ca> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew BOGECHO types: > Wed Feb 7 22:42:02 EST 2001 > > Thank you for the response. > > Yup, did it twice to make sure. Unfortunately, I will have to wait until > Friday to do another cvsup, to see if this is fixed. Is there any other > analysis tool to see what is happening when I run it? (Other than truss > which outputs nothing at all) Well, that's the usual reason. Depending on what you're trying to find out, you might check the *stat utilities (vmstat, iostat, systat, and possibly a few more) and things in /usr/ports/sysutils (I use gkrellm). > My procedure has been: > > cvsup stable-supfile > make clean > make buildworld > make buildkernel KERNEL=MACHINE_NAME > make installkernel KERNEL=MACHINE_NAME > reboot > boot -s > mount /; mount /usr; mount /var; mount /tmp > make installworld > mergemaster > reboot > > This has worked countless times for me. I have checked, /proc is > mounted, and a single CPU machine that I cvsuped at the same time > has a top that is working. Well, that looks right to me. The only thing I can think of is that the buildkernel might have failed in a non-obvious way (I've had that happen), so you wind up installing the old kernel. Do a "uname -a" and check the build date on the kernel. > Thank you for your time. You're welcome. Andrew. > > perl -e "print (pack('h42','16e64627567726043637e2d6367696c6c6e23616a0'))" > > On Wed, Feb 07, 2001 at 07:49:25PM -0600, Mike Meyer wrote: > > Andrew BOGECHO types: > > > On Monday, I upgraded my dual Pentium III cpu to the latest > > > 4.2-STABLE. However, after the upgrade top stopped working. Has > > > this happened to anyone else? Everything else works fine. Doing > > > a truss on top revealed nothing, no output at all, it just hangs. > > > When run nothing at all happens, no error messages or anything, until > > > I send it a kill signal. If it helps, I did the cvsup at: > > > > Did you upgrade both the kernel and userland? Getting them out of sync > > is the usual reason for this kind of thing. > > > > > -- > > Mike Meyer http://www.mired.org/home/mwm/ > > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message