Compaq - Redhat is only seeing 1 CPU? - FIXED

Waldher, Travis R Travis.R.Waldher at boeing.com
Mon Aug 30 21:21:27 UTC 2004


 

> -----Original Message-----
> From: Rick Stevens [mailto:rstevens at vitalstream.com] 
> Sent: Monday, August 30, 2004 10:27 AM
> To: Getting started with Red Hat Linux
> Subject: Re: Compaq - Redhat is only seeing 1 CPU?
> 
> 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.

One ML530 is fixed, and I bet the 1850 will follow suit.

The BIOS has a setting for which OS was installed.  One was set to
"other" and one to Windows.  Apparently the motherboard advertises
itself a little differently if you tell it, it's running a Linux (or
Unixware type) OS.  Proof's in da puddin':

[root at borg root]# mpstat -P ALL
Linux 2.4.21-4.ELsmp (borg)     08/30/2004

02:20:48 PM  CPU   %user   %nice %system   %idle    intr/s
02:20:48 PM  all    2.00    0.00    1.14   96.86    171.21
02:20:48 PM    0    1.77    0.00    1.38   95.96     76.83
02:20:48 PM    1    2.24    0.00    0.90   97.75     94.36

I love it when it's something simple like that. :) 





More information about the Redhat-install-list mailing list