Compaq - Redhat is only seeing 1 CPU?

Rick Stevens rstevens at vitalstream.com
Mon Aug 30 17:27:07 UTC 2004


Waldher, Travis R wrote:
> Here is what mpstat -P ALL says:
> 
> [root at rpdssvr sysconfig]# mpstat -P ALL
> Linux 2.4.21-15.0.4.ELsmp (rpdssvr)     08/29/2004
> 
> 07:39:57 PM  CPU   %user   %nice %system   %idle    intr/s
> 07:39:57 PM  all    0.61    0.01    0.75   98.64    112.89
> 07:39:57 PM    0    0.61    0.01    0.75   98.64    112.89
> 
> And top:
>  19:40:15  up 1 day, 21:54,  1 user,  load average: 0.00, 0.02, 0.00
> 71 processes: 70 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
>            total    0.0%    0.0%    1.9%   0.0%     0.0%    0.0%   98.0%
> Mem:   511988k av,  408804k used,  103184k free,       0k shrd,  106096k
> buff
>        204992k active,              64904k inactive
> Swap:       0k av,       0k used,       0k free                  151016k
> cached
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
> COMMAND
>  3825 root      20   0  1232 1232   900 R     1.9  0.2   0:00   0 top
>     1 root      15   0   512  512   452 S     0.0  0.1   0:06   0 init
>     2 root      RT   0     0    0     0 SW    0.0  0.0   0:00   0
> migration/0
>     3 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
> keventd
>     4 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0
> ksoftirqd/0
>     7 root      25   0     0    0     0 SW    0.0  0.0   0:00   0
> bdflush
> 
> So, it looks to me anyway, that Redhat is only seeing one CPU, this is
> confirmed by HP's monitoring utilities that yell at boot up.
> 
> What could I be missing that would cause this problem?  Under windows
> both CPU's are seen, and this is happening on two totally different
> vintage and model Proliants (an ML530 and an 1850R). :confused:

Are you certain you're running an SMP kernel?  It sure looks like you
aren't.  "uname -r" will help.  Also, take a look at the /boot/config*
file that matches your kernel version (from the "uname -r").  The file
should contain "CONFIG_SMP=y".  If it says "CONFIG_SMP is not set",
you've got a uniprocessor kernel.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-               The Theory of Rapitivity: E=MC Hammer                -
-                                  -- Glenn Marcus (via TopFive.com) -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list