Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2009 18:45:28 -0500
From:      "Howard Leadmon" <howard@leadmon.net>
To:        "'Roland Smith'" <rsmith@xs4all.nl>
Cc:        freebsd-amd64@freebsd.org
Subject:   RE: Intel Xeon Processor kernel compile CPU type.
Message-ID:  <01b401c993b5$525b7960$f7126c20$@net>
In-Reply-To: <20090220185928.GB7314@slackbox.xs4all.nl>
References:  <9D0C41D6-5EDB-4D17-8258-352FE8ADAFBD@chesterdkat.com> <499DAAF8.4030005@dir.bg> <6101e8c40902191108w2234b13k84466dfd9f1fe4ee@mail.gmail.com> <013f01c99364$5689e4a0$039dade0$@net> <20090220185928.GB7314@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Good, so nocona is really the right one to specify.   Good to know I have
been doing it correctly on my x64 machines, and heck nice document/defines
there, I'll keep that in my notes so I know how to find stuff like that in
the future..  


---
Howard Leadmon 


> -----Original Message-----
> From: Roland Smith [mailto:rsmith@xs4all.nl]
> Sent: Friday, February 20, 2009 1:59 PM
> To: Howard Leadmon
> Cc: 'Oliver Pinter'; freebsd-amd64@freebsd.org
> Subject: Re: Intel Xeon Processor kernel compile CPU type.
> 
> 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,M
> CA
> > ,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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01b401c993b5$525b7960$f7126c20$>