From owner-freebsd-questions Wed Feb 7 21:11:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id BE8A837B491 for ; Wed, 7 Feb 2001 21:11:37 -0800 (PST) Received: (from andrewb@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id AAA12282; Thu, 8 Feb 2001 00:11:35 -0500 (EST) Date: Thu, 8 Feb 2001 00:11:34 -0500 From: Andrew BOGECHO To: Mike Meyer Cc: questions@freebsd.org Subject: Re: top on SMP machines Message-ID: <20010208001134.A12085@cs.mcgill.ca> References: <79732223@toto.iv> <14977.64293.740160.631815@guru.mired.org> <20010207225015.A10847@cs.mcgill.ca> <14978.6240.473691.794313@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <14978.6240.473691.794313@guru.mired.org>; from mwm@mired.org on Wed, Feb 07, 2001 at 09:54:08PM -0600 Organization: SOCS, McGill University, Montreal, CANADA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thu Feb 8 00:05:21 EST 2001 Hi Mike, Thank you for your quick reply. The kernel version revealed with uname -a is the right one. I had a look at the other systems analysis tools, vmstat, iostat and systat. They all seem to work. The only thing that I now notice is the following message in the output from dmesg: APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 SMP: AP CPU #1 Launched! Could this be what is causing problems with top? Once again thank you for your help. Andrew. perl -e "print (pack('h42','16e64627567726043637e2d6367696c6c6e23616a0'))" On Wed, Feb 07, 2001 at 09:54:08PM -0600, Mike Meyer wrote: > 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