Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 21:54:08 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Andrew BOGECHO <andrewb@cs.mcgill.ca>
Cc:        questions@freebsd.org
Subject:   Re: top on SMP machines
Message-ID:  <14978.6240.473691.794313@guru.mired.org>
In-Reply-To: <20010207225015.A10847@cs.mcgill.ca>
References:  <79732223@toto.iv> <14977.64293.740160.631815@guru.mired.org> <20010207225015.A10847@cs.mcgill.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew BOGECHO <andrewb@cs.mcgill.ca> 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.

	<mike

> Andrew.
> 
> perl -e "print (pack('h42','16e64627567726043637e2d6367696c6c6e23616a0'))"
> 
> On Wed, Feb 07, 2001 at 07:49:25PM -0600, Mike Meyer wrote:
> > Andrew BOGECHO <andrewb@cs.mcgill.ca> 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
> > --
> > Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
> > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
> 
--
Mike Meyer <mwm@mired.org>			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




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