Intel Xeon Processor kernel compile CPU type.

Roland Smith rsmith at xs4all.nl
Fri Feb 20 11:11:49 PST 2009


On Fri, Feb 20, 2009 at 09:05:46AM -0500, Howard Leadmon wrote:
>  I knew HAMMER was the only type for making your kernel, but what CPUTYPE's
> are OK for 64bit? 
<snip>
> CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.20-MHz K8-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf48  Stepping = 8
>  
> 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=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR>
>   AMD Features=0x20100800<SYSCALL,NX,LM>
>   AMD Features2=0x1<LAHF>
>   Cores per package: 2
>   Logical CPUs per core: 2
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
> 
>  So should this stuff be set to nocona, core2, or what??

Have a look at /usr/share/mk/bsd.cpu.mk. If you are using the amd64
architecture, you can use CPUTYPE=prescott or CPUTYPE=core2, but both
will be converted to CPUTYPE=nocona. That's probably because that is the
latest variant that the gcc in base understands.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20090220/0d361fae/attachment.pgp


More information about the freebsd-amd64 mailing list