From: "B. James Phillippe" <bryan@terran.org>
To: axp-list@redhat.com
Subject: Re: get_nprocs() returns 0 (number of CPUs)
Date: Wed, 8 Sep 1999 12:47:28 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.10.9909081241300.18395-100000@neptune.terran> (raw)
In-Reply-To: <Pine.LNX.4.10.9909081316220.22168-100000@iceland.sidefx.com>
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
next prev parent reply other threads:[~1999-09-08 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-08 17:22 get_nprocs() returns 0 (number of CPUs) Eran Guendelman
1999-09-08 19:47 ` B. James Phillippe [this message]
1999-09-08 20:31 ` Eran Guendelman
1999-09-08 21:23 ` Suyudi Koeswanto
1999-09-08 22:01 ` Eran Guendelman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox