You are not logged in.
Pages: 1
This is probably a really easy fix, but i just noticed that my core2duo system only shows
1 cpu in /proc/cpuinfo.
is there something simple i missed in terms of enabling the second core? it worked in
ubuntu (i'm thinking i am running the wrong kernel?)
here is the result of:
[root@minitx etc]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
stepping : 10
cpu MHz : 2200.066
cache size : 4096 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx lm constant_tsc up arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4404.08
clflush size : 64
power management:
Thanks,
M
Offline
So...what's your kernel?
Give us the output of : uname -a
Offline
sorry, should have included that:
[root@minitx ~]# uname -r
2.6.26-ARCH
i installed using the march 08 CD and the system has been fully upgraded via pacman since then.
thanks,
M
Offline
sorry, should have included that:
[root@minitx ~]# uname -r
2.6.26-ARCHi installed using the march 08 CD and the system has been fully upgraded via pacman since then.
thanks,
M
uname -r only shows the kernel version, not enough info.
uname -a shows this :
Linux jean-laptop 2.6.26-ARCH #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
SMP indicates capability to power multiple cpus.
Offline
interesting:
[root@minitx X11]# uname -a
Linux minitx 2.6.26-ARCH #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
[root@minitx X11]#
but i am still pretty sure archlinux only sees 1 cpu (according to /proc/cpuinfo) also when running multiple mplayers and checking top, i never seem to go above 100% and i believe that in ubuntu, i saw top reporting processes running higher than 100%.
thanks,
m
Offline
Wierd..I do see 2 processors with gnome-system-monitor, conky, /proc/cpuinfo et al
Offline
well that's annoying. Thanks for looking into it for me.
anyone else have any thoughts about why arch is only seeing one of the cores? I know ubuntu saw both. What does linux do to detect available processors? when does this detection occur?
below is the first part of dmeg.log that shows only 1 CPU being brought up. strange:
Linux version 2.6.26-ARCH (root@T-POWA-LX) (gcc version 4.3.1 20080724 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007f6f0000 (usable)
BIOS-e820: 000000007f6f0000 - 000000007f700000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
1142MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at [c00f3720] 000f3720
Entering add_active_range(0, 0, 521968) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 521968
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 521968
On node 0 totalpages: 521968
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 2286 pages used for memmap
HighMem zone: 290306 pages, LIFO batch:31
Movable zone: 0 pages used for memmap
DMI not present or invalid.
ACPI Error (tbxfroot-0218): A valid RSDP was not found [20080321]
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
MPTABLE: OEM ID: OEM00000 Product ID: PROD00000000 <6>MPTABLE: Product ID: PROD00000000 <6>MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
I/O APIC #4 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 1
Allocating PCI resources starting at 80000000 (gap: 7f700000:60900000)
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PERCPU: Allocating 39464 bytes of per cpu data
NR_CPUS: 16, nr_cpu_ids: 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517890
Kernel command line: root=/dev/sda3 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2200.009 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2064072k/2087872k available (2120k kernel code, 22568k reserved, 744k data, 264k init, 1170368k highmem)
virtual kernel memory layout:
fixmap : 0xffee4000 - 0xfffff000 (1132 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc03d3000 - 0xc0415000 ( 264 kB)
.data : 0xc031211e - 0xc03cc380 ( 744 kB)
.text : 0xc0100000 - 0xc031211e (2120 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 4404.09 BogoMIPS (lpj=7337745)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using mwait in idle threads.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 9k freed
ACPI: Core revision 20080321
ACPI Exception (tbxface-0629): AE_NO_ACPI_TABLES, While loading namespace from ACPI tables [20080321]
ACPI: Unable to load the System Description Tables
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
CPU0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping 0a
Brought up 1 CPUs
Total of 1 processors activated (4404.09 BogoMIPS).
Offline
even more interesting...
i recall having to disable acpi in the bios to get arch to initially boot. I just double checked in the bios, mutlicore is activated and now i've reactivated acpi... I still only get 1 processor, but alot of new info is in dmesg.log
thoughts?
[root@minitx ~]# cat /var/log/dmesg.log
Linux version 2.6.26-ARCH (root@T-POWA-LX) (gcc version 4.3.1 20080724 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007f6e0000 (usable)
BIOS-e820: 000000007f6e0000 - 000000007f6e3000 (ACPI NVS)
BIOS-e820: 000000007f6e3000 - 000000007f6f0000 (ACPI data)
BIOS-e820: 000000007f6f0000 - 000000007f700000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
1142MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at [c00f3720] 000f3720
Entering add_active_range(0, 0, 521952) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 521952
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 521952
On node 0 totalpages: 521952
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 2286 pages used for memmap
HighMem zone: 290290 pages, LIFO batch:31
Movable zone: 0 pages used for memmap
DMI not present or invalid.
ACPI: RSDP 000F7AE0, 0014 (r0 IntelR)
ACPI: RSDT 7F6E3000, 0030 (r1 IntelR AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 7F6E3080, 0074 (r1 IntelR AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 7F6E3100, 50C0 (r1 INTELR AWRDACPI 1000 MSFT 3000000)
ACPI: FACS 7F6E0000, 0040
ACPI: MCFG 7F6E8280, 003C (r1 IntelR AWRDACPI 42302E31 AWRD 0)
ACPI: APIC 7F6E81C0, 0084 (r1 IntelR AWRDACPI 42302E31 AWRD 0)
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7f700000:60900000)
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
SMP: Allowing 4 CPUs, 3 hotplug CPUs
PERCPU: Allocating 39464 bytes of per cpu data
NR_CPUS: 16, nr_cpu_ids: 4
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517874
Kernel command line: root=/dev/sda3 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2200.057 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2063820k/2087808k available (2120k kernel code, 22688k reserved, 744k data, 264k init, 1170304k highmem)
virtual kernel memory layout:
fixmap : 0xffee4000 - 0xfffff000 (1132 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc03d3000 - 0xc0415000 ( 264 kB)
.data : 0xc031211e - 0xc03cc380 ( 744 kB)
.text : 0xc0100000 - 0xc031211e (2120 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Calibrating delay using timer specific routine.. 4404.08 BogoMIPS (lpj=7337739)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using mwait in idle threads.
Checking 'hlt' instruction... OK.
ACPI: Core revision 20080321
ACPI: Checking initramfs for custom DSDT
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping 0a
Brought up 1 CPUs
Total of 1 processors activated (4404.08 BogoMIPS).
Offline
This part remained the same :
CPU0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping 0a
Brought up 1 CPUs
Total of 1 processors activated (4404.08 BogoMIPS).
Offline
unfortunately, yes... it didnt give me my other core, but some stuff is totally different like:
SMP: Allowing 4 CPUs, 3 hotplug CPUs
PERCPU: Allocating 39464 bytes of per cpu data
NR_CPUS: 16, nr_cpu_ids: 4
........
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
where without apci it was:
NR_CPUS: 16, nr_cpu_ids: 1
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
what's strange is that it's a dualcore not a quadcore, so i dont see why there should be 4 cpu_ids?
I can't be the only person this has happened to, i wonder what it is. i'm going to keep trying
stuff in the bios as i'm at a loss otherwise.
-m
Offline
You can try playing with "Core Multiplexing technology" bios option. Iam using an Intel mobo and I 've this option with me. I too get One cpu when I disable multiplexing...
As for nr_cpu_ids option, IMHO, it doesn't mean that u _actually_ 've 4 cpus or whatever, it rather means it can support 4 cpus with proper mem. mngement. I am no kernel guru though
Last edited by Onwards (2008-09-03 04:57:00)
Offline
Yeah, now i'm sure its something in the bios. I just installed ubuntu and it only sees one CPU as well (i was wrong in my earlier posts). I have a feeling windows will see 2. The motherboard is a mini-itx board with the 965GM chipset made by wade technology.
I am sure multicore whatever is enabled in the bios, turning it on and off didnt seem to do anything. Turning apci and apic on and off didnt seem to do anything. booting with noapic and various other kernel options hasnt made a difference either.
i'm going to install windows and double check before i contact the manufacturer.
Thanks,
m
Offline
Pages: 1