[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: get_nprocs() returns 0 (number of CPUs)



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []