Determining CPUTYPE for /etc/make.conf

Kent Stewart kstewart at owt.com
Thu May 1 09:44:16 PDT 2003


On Thursday 01 May 2003 09:33 am, Bill Moran wrote:
> Working on tweaking my builds ...
>
> dmesg says:
> CPU: AMD Athlon(tm) processor (1001.78-MHz 686-class CPU)
>    Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
>   
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
>A,CMOV,PAT,PSE36,MMX,FXSR> AMD
> Features=0xffffffffc0440000<RSVD,AMIE,DSP,3DNow!>
>
> And according to the example make.conf, my choices are:
> #       (AMD CPUs)	athlon-mp athlon-xp athlon-4 athlon-tbird athlon
> k6-3 #			k6-2 k6 k5
>
> But what kind of Athlon do I have?  I can rule out the -mp, and I'm
> pretty sure it's not a -tbird or -4, but can anyone tell from the
> dmesg output whether it's an athlon or an athlon-xp?
>
> Or do I need to pop the case and the heat sink to be sure?

I think you are getting into troubled waters when you add the cpu for 
userland and kernel. 

My athlon-tbird looks like
CPU: AMD Athlon(tm) Processor (896.19-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2

My Athlon 2000+ XP looks like
CPU: AMD Athlon(tm) XP 2000+ (1674.45-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2

Since my 900 and your 1000 both have id=0x642, I would assume it is a 
TBird.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list