From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16590 invoked from network); 9 Dec 1999 04:36:27 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Dec 1999 04:36:27 -0000 Received: from mailext12.compaq.com (mailext12.compaq.com [207.18.199.188]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA23366 for ; Wed, 8 Dec 1999 23:36:26 -0500 Received: by mailext12.compaq.com (Postfix, from userid 12345) id EE0BE5796D; Wed, 8 Dec 1999 22:36:25 -0600 (CST) Received: from mailint02.im.hou.compaq.com (mailint02.compaq.com [207.18.199.35]) by mailext12.compaq.com (Postfix) with ESMTP id EB9AE54601 for ; Wed, 8 Dec 1999 22:36:25 -0600 (CST) Received: by mailint02.im.hou.compaq.com (Postfix, from userid 12345) id 1382BBC4E4; Wed, 8 Dec 1999 22:36:19 -0600 (CST) Received: from pdgsrv.mro.dec.com (pdgsrv.mro.dec.com [16.34.112.86]) by mailint02.im.hou.compaq.com (Postfix) with ESMTP id C920DB2A43 for ; Wed, 8 Dec 1999 22:36:18 -0600 (CST) Received: from alpha2.estabrook.org by pdgsrv.mro.dec.com; (8.8.8/1.1.8.2/13Dec96-1209PM) id XAA32299; Wed, 8 Dec 1999 23:36:18 -0500 (EST) Received: from alpha2.estabrook.org (localhost [127.0.0.1]) by alpha2.estabrook.org (8.9.3/8.9.3) with ESMTP id XAA13034 for ; Wed, 8 Dec 1999 23:37:54 -0500 Message-Id: <199912090437.XAA13034@alpha2.estabrook.org> X-Mailer: exmh version 2.0.3 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@compaq.com Subject: Re: SMP problem....maybe ?? In-reply-to: Your message of Wed, 08 Dec 1999 23:02:16 -0500. Mime-Version: 1.0 Content-Type: text/plain Date: Wed, 08 Dec 1999 23:37:52 -0500 Sender: jestabro@alpha2.estabrook.org >>> Rich Payne said: > > > I noticed that regardless of how many processors are present in the box > (this is either UP2000 or DP264) /proc/cpuinfo reports "cpus detected 2", > followed by "CPUs probed x" where x is the real number of CPUs, now it > does this even on a machine with 1 cpu and a uni kernel! > > Now this value comes from hwrpb->nr_processors, which seems to be related > to the INIT_HWRPB struct in aboot (am I even close here ?) Oh, yes, you *are* close... ;-} > So I guess the question is does anybody know why this is reporting 2 on > SMP Tsunami machines? regardless of what's really there? Yes, there is/was a bug in the CPU detection code, which goes away with 2.2.14 (the patch has been in there since pre9 or so, IIRC). The HWRPB may say there's 2 or 4 CPUs, for a given architecture, in the "nr_processors" field, and one is required to look deeper, at the per-CPU data, to determine how many are really there. TSUNAMI machines will always say 2 CPUs, I believe; RAWHIDE may say 4. --Jay++ --------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ---------------------------------------------------------------