What is the real number of CPUs ? -- was: Re: Problem with new Intel DX board and i7 Processor on reboot attempt (locks)

martinko gamato at users.sf.net
Thu Feb 19 15:30:21 PST 2009


Mike Tancsa wrote:
> At 01:08 PM 2/18/2009, Karl Denninger wrote:
>> Running 7-STABLE, compiled last night.
>>
>> When attempting to reboot the system freezes at "stopping other CPUs" 
>> and has to be hard-reset with either the power button or the RESET 
>> switch.  The problem is easily reproduced - typing "reboot" produces 
>> it :-)
>>
>> I'm wondering if that ACPI warning in the boot sequence is involved in 
>> this, and if so, if there is a recommended workaround?
>>
>> Here's the "dmesg" from the subject system:
> 
> Hi,
>         I have the same chipset, but dont see the reboot problem on 
> RELENG_7 from Jan 7th. (via "shutdown -r now")  Have you checked for 
> BIOS updates ?
> 
>         ---Mike
> 
> 
> CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (2666.77-MHz 
> 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x106a4  Stepping = 4
>   
> Features=0xbfebfbff<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, 
> 
> HTT,TM,PBE>
>   
> Features2=0x98e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT> 
> 
>   AMD Features=0x28100000<NX,RDTSCP,LM>
>   AMD Features2=0x1<LAHF>
>   Cores per package: 8
>   Logical CPUs per core: 2
> real memory  = 3212734464 (3063 MB)
> avail memory = 3139563520 (2994 MB)
> ACPI APIC Table: <INTEL  DX58SO  >
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
>  cpu4 (AP): APIC ID:  4
>  cpu5 (AP): APIC ID:  5
>  cpu6 (AP): APIC ID:  6
>  cpu7 (AP): APIC ID:  7
> ACPI Warning (tbfadt-0505): Optional field "Pm2ControlBlock" has zero 
> address or length:        0     450/0 [20070320]
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> 

Hi,

I don't get the numbers of CPUs -- AFAIK Core i7 has 4 cores with 2 
logical CPUs per core (hyper-threading?) and that makes 8 logical CPUs. 
  Above I see 8 cores per package (!) _but_ 8 x 2 = 16 while only 8 CPUs 
are detected and started.  Could someone explain pls ?

Cheers,

M.



More information about the freebsd-stable mailing list