LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-12-2010, 02:32 PM   #1
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Rep: Reputation: 0
Question Centos 5.3 - 2 CPUs are missing on AMD Phenom II X4


Hi guys!

Not so long time ago I have installed Centos 5.3 on my AMD Phenom II X4 server (I am hosting game servers on it). Only today I noticed, that cpuinfo shows me only two CPUs. I watched for the info in the dmesg and found there that the system boots up only 2CPUs.

Here is some info from the dmesg:

Quote:
Linux version 2.6.18-164.11.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Jan 20 07:32:21 EST 2010
Command line: ro root=/dev/VolGroup00/LogVol00

ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 0:4 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 0:4 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])

SMP: Allowing 4 CPUs, 2 hotplug CPUs
Built 1 zonelists. Total pages: 1030756
Kernel command line: ro root=/dev/VolGroup00/LogVol00
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
CPU 0: aperture @ 4000000 size 32 MB
Aperture too small (32 MB)
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 4000000
Nosave address range: 0000000004000000 - 0000000008000000
ACPI: DMAR not present
Memory: 4047512k/4718592k available (2551k kernel code, 145188k reserved, 1290k data, 208k init)
Calibrating delay loop (skipped), value calculated using timer frequency.. 6830.84 BogoMIPS (lpj=3415424)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
ACPI: Core revision 20060707
Using local APIC timer interrupts.
Detected 12.556 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 6830.83 BogoMIPS (lpj=3415415)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
AMD Phenom(tm) II X4 965 Processor stepping 03
Brought up 2 CPUs
Am I correctly understand that something wrong in BIOS? Or it is something else?


Thanks in advance for your support!

Last edited by bzzik; 03-12-2010 at 02:35 PM.
 
Old 03-12-2010, 02:47 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
It looks like it's a stepping processor, so the other physical cpu might come in under load.
But you should check the bios for the AGP aperture warning.
Quote:
CPU 0: aperture @ 4000000 size 32 MB
Aperture too small (32 MB)
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
 
Old 03-12-2010, 02:56 PM   #3
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
Might come... How to put CPUs under load manually? I want to test to be sure that CPUs will come.

Thanks!

Last edited by bzzik; 03-12-2010 at 03:03 PM.
 
Old 03-12-2010, 03:11 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You could try CPU burn-in
http://www.howtointernets.com/wiki/i...Test_for_Linux

I would only run the cpu burn-in file and not bother with all the lm sensors stuff.

Just run the file and open up system-monitor or something to see if they come alive.

You may need to run 4 copies of cpu burn-in

What does cat /proc/cpuinfo show you ?
 
Old 03-12-2010, 03:13 PM   #5
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
OK I will try. Here is cpuinfo:

Quote:
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 965 Processor
stepping : 3
cpu MHz : 2200.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy s vm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
bogomips : 6830.84
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [8]

processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 965 Processor
stepping : 3
cpu MHz : 2200.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy s vm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
bogomips : 6830.83
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [8]
 
Old 03-12-2010, 04:02 PM   #6
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
So I found another stress program and made a stress test. But only 2 CPUs was on:

Quote:
11:59:49 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
11:59:51 PM all 99.00 0.00 0.50 0.00 0.00 0.50 0.00 0.00 3689.00
11:59:51 PM 0 99.50 0.00 0.50 0.00 0.00 0.00 0.00 0.00 1000.50
11:59:51 PM 1 98.50 0.00 0.50 0.00 0.00 1.00 0.00 0.00 2688.50

11:59:51 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
11:59:53 PM all 98.75 0.00 0.75 0.00 0.00 0.50 0.00 0.00 3775.25
11:59:53 PM 0 99.01 0.00 0.50 0.00 0.00 0.50 0.00 0.00 999.01
11:59:53 PM 1 98.00 0.00 1.00 0.00 0.00 1.00 0.00 0.00 2776.24

11:59:53 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
11:59:55 PM all 99.00 0.00 0.25 0.00 0.00 0.75 0.00 0.00 3858.29
11:59:55 PM 0 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1005.53
11:59:55 PM 1 98.01 0.00 1.00 0.00 0.00 1.00 0.00 0.00 2852.76

11:59:55 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
11:59:57 PM all 99.00 0.00 0.50 0.00 0.00 0.50 0.00 0.00 3851.00
11:59:57 PM 0 99.50 0.00 0.50 0.00 0.00 0.00 0.00 0.00 1018.00
11:59:57 PM 1 98.50 0.00 0.50 0.00 0.00 1.00 0.00 0.00
May be I need more longer test?
 
Old 03-12-2010, 04:30 PM   #7
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Maybe.
How many cpus show up in top ?
you can toggle the display to show all or just total cpu with 1
 
Old 03-12-2010, 04:52 PM   #8
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
I made some stress tests and in top there are only Cpu0 & Cpu1 It makes me think that there is no kernel support for 4 CPUs... My be I need to put maxcpus=4 into lilo.conf ?

Last edited by bzzik; 03-12-2010 at 04:54 PM.
 
Old 03-12-2010, 05:31 PM   #9
bzzik
LQ Newbie
 
Registered: Jan 2009
Location: Latvia, Riga
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
Talking

smoker - thank you for help! The problem in fact was in BIOS settings. 2 CPUs was disabled in it
 
Old 03-12-2010, 06:26 PM   #10
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
lol, nice you solved it, hehehe. BIOS is the first thing I check when I receive new PC/motherboard in my shop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: AMD Phenom II X3 On Linux LXer Syndicated Linux News 0 05-26-2009 01:20 PM
Phenom II, and Newer AMD chipsets cloud9repo Linux - Hardware 10 03-09-2009 05:38 AM
AMD Phenom™ X4 Quad-Core enyawix Linux - Hardware 6 01-13-2009 08:13 AM
AMD Phenom Tripple core on Fedora 10 peeths003 Linux - Hardware 3 01-02-2009 07:18 PM
LXer: AMD Phenom 9500 Linux Performance LXer Syndicated Linux News 0 01-05-2008 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration