From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26506 invoked from network); 8 Sep 1999 19:47:37 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Sep 1999 19:47:37 -0000 Received: from earth.terran.org (root@earth.terran.org [216.39.144.215]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA06607 for ; Wed, 8 Sep 1999 15:47:36 -0400 Received: from neptune.terran (root@neptune.terran [192.168.2.8]) by earth.terran.org (8.8.7/8.8.8) with ESMTP id MAA24051 for ; Wed, 8 Sep 1999 12:47:33 -0700 Received: from localhost (bryan@localhost) by neptune.terran (8.9.3/8.9.4) with ESMTP id MAA18569 for ; Wed, 8 Sep 1999 12:47:28 -0700 X-Authentication-Warning: neptune.terran: bryan owned process doing -bs Date: Wed, 8 Sep 1999 12:47:28 -0700 (PDT) From: "B. James Phillippe" X-Sender: bryan@neptune.terran To: axp-list@redhat.com Subject: Re: get_nprocs() returns 0 (number of CPUs) In-Reply-To: Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 8 Sep 1999, Eran Guendelman wrote: > Hi. > I am running RH6.0 on a dual alpha machine. A program I am writing needs ... > /proc/cpuinfo clearly states "cpus detected : 2". I know, I *could* parse Did you compile with CONFIG_SMP=y (you need to have picked either the generic vector or one of a few specific Alpha types; see arch/alpha/config.in)? If you boot with SRM, I believe the /proc/cpuinfo would be correct (assuming your SRM is not "being stupid" [to quote rth]) regardless of whether or not you said "yes" to SMP. -bp -- # bryan at terran dot org # http://www.terran.org/~bryan