From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29940 invoked from network); 9 Dec 1999 04:02:28 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Dec 1999 04:02:28 -0000 Received: from talisman.mv.com (root@talisman.mv.com [207.22.43.150]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA21963 for ; Wed, 8 Dec 1999 23:02:27 -0500 Received: from localhost (rdp@localhost [127.0.0.1]) by talisman.mv.com (8.8.7/8.8.7) with ESMTP id XAA05313; Wed, 8 Dec 1999 23:02:16 -0500 Date: Wed, 8 Dec 1999 23:02:16 -0500 (EST) From: Rich Payne X-Sender: rdp@talisman.mv.com To: axp-list@redhat.com, linux-alpha@vger.rutgers.edu cc: axp-hardware@lists.alphalinux.org Subject: SMP problem....maybe ?? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII So I notices something rather strange today, now I only have Tsunami based SMP machines so I can't speak for other SMP hardware, however: 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 ?) So I guess the question is does anybody know why this is reporting 2 on SMP Tsunami machines? regardless of what's really there? thanks, --rdp P.S. In case your interested, this all start with a problem of somebody porting some code over to AlphaLinux, they wanted to know the # of CPUs in the box so tried get_nprocs() and get_nprocs_conf() both of which return 0 on Alpha as they seem to parse /proc/cpuinfo and count the number of instances of the word 'processor'. So the Alphas are always running with 0 CPUs! Rich Payne rpayne@alphalinux.org www.alphalinux.org