From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15944 invoked from network); 12 May 2004 14:04:56 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 12 May 2004 14:04:56 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BNuLw-0001e4-6W for arch-gentoo-dev@lists.gentoo.org; Wed, 12 May 2004 14:04:56 +0000 Received: (qmail 10670 invoked by uid 50004); 12 May 2004 14:04:55 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 19192 invoked from network); 12 May 2004 14:04:55 +0000 From: Kevin To: Gentoo Dev Date: Wed, 12 May 2004 09:58:45 -0400 User-Agent: KMail/1.5.94 References: <200405111407.58909.gentoo-dev@gnosys.biz> <200405120724.07569.gentoo-dev@gnosys.biz> <20040512114822.GD16857%jmglov@jmglov.net> In-Reply-To: <20040512114822.GD16857%jmglov@jmglov.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200405120958.45686.gentoo-dev@gnosys.biz> Subject: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels X-Archives-Salt: 329a83de-0ae3-47ef-a047-c41d89c54964 X-Archives-Hash: b42764ffc612bca61e93210635064c45 On Wednesday 12 May 2004 07:48, Josh Glover wrote: > Quoth Kevin (Wed 2004-05-12 07:24:07AM -0400): > > > > Have you turned off hyperthreading? Why is it that only two CPUs > > show up? It looks like (flags include ht) the CPUs support > > hyperthreading... or am I way off base in drawing that conclusion > > here? > > No, the only part where you went off base was in assuming that I have > more than one *physical* CPU in the box. I have one, and with > hyperthreading turned on, it looks like two to the kernel. Oh.... Well, that seems like an important difference between yours and my arrangements. Are you running Gentoo on a box with more than one physical CPU? I had no problems running Gentoo on this box until after installing a second CPU. That's when the weirdness started. Is anyone here running Gentoo on a dual-physical CPU machine? What compiler flags are you using? > > > I dunno, why don't you post your CFLAGS and MAKEOPTS from your > > > make.conf here? > > > > Did already :) > > Lost them in the spew, sorry. > > > Here they are again: > > > > ACCEPT_KEYWORDS="x86" > > This is unnecessary. You only need to use ACCEPT_KEYWORDS with the > unstable keywords, ~x86 in your case. Ok. Thanks. > > > CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" > > Might want to back off to -O2, at least when you compile the kernel if > nothing else. I believe the handbook recommends -O2, and optimising too > highly can lead to some pretty bizarre problems. K. What CFLAGS are you using? (on both your single physical CPU box you described above and with any multiple physical CPU boxes) > > > CXXFLAGS="-O3 -march=pentium4 > > I am not sure if you are setting this, or if this is just emerge, but > you usually want to set CXXFLAGS="${CFLAGS}". I'll hafta look at that (well, I can't anymore). I thought I did have CXXFLAGS=${CFLAGS}". > > > FEATURES="autoaddcvs ccache distcc sandbox" Huh. That's odd. When I installed distcc, I changed the FEATURES as indicated in the docs to list distcc, but I didn't add any of those others. Wonder where they came from... > > autoaddcvs is a feature only for developers, you should not turn it on. K. > > > MAKEOPTS="-j3" > > You have four CPUs, so set this to -j5. I was thinking "number of physical CPUs + 1" here, but ok. > > > Thanks again for the thoughtful reply, Josh. > > Hey, I live to serve. :) :) Thanks. -- -Kevin -- gentoo-dev@gentoo.org mailing list