netbsd-bugs@netbsd.org
[Top] [All Lists]

bin/38667: cpuctl does not properly deal with AMD Phenom

Subject: bin/38667: cpuctl does not properly deal with AMD Phenom
From:
Date: Thu, 15 May 2008 14:10:00 +0000 UTC
>Number:         38667
>Category:       bin
>Synopsis:       cpuctl does not properly deal with AMD Phenom
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 15 14:10:00 +0000 2008
>Originator:     Paul Goyette
>Release:        NetBSD 4.99.62
>Organization:
>Environment:
System: NetBSD quicky.whooppee.com 4.99.62 NetBSD 4.99.62 (QUICKY (ASUS M2N32 
WS) 2008-05-14 13:20:42) #1: Wed May 14 06:25:08 PDT 2008 
paul@xxxxxxxxxxxxxxxxxxx:/build/obj/amd64/sys/arch/amd64/compile/QUICKY amd64
Architecture: x86_64
Machine: amd64
>Description:
Even after patching cpuctl according to bin/38666, cpuctl identifies an
AMD Phenom as an "Unknown K8" processor, and does not provide any L3 cache
info.  Furthermore, the L2 cache info is suspect, in that the data cache
size is not a power-of-two.
>How-To-Repeat:
speedy {101} ./cpuctl identify 0
cpu0: AMD Unknown K8 (Athlon) (686-class), 2310.82 MHz, id 0x100f22
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cpu0: features ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features ffdbfbff<FXSR,SSE,SSE2,RDTSCP,HTT,LONG,3DNOW2,3DNOW>
cpu0: features2 802009<SSE3,MONITOR,CX16,POPCNT>
cpu0: "AMD Phenom(tm) 9600 Quad-Core Processor"
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cpu0: I-cache 64kB 64B/line 2-way, D-cache 64kB 64B/line 2-way
cpu0: L2 cache 512kB 64B/line 16-way
cpu0: ITLB 32 4096B entries fully associative, 16 4194304B entries fully 
associative
cpu0: DTLB 48 4096B entries fully associative, 48 4194304B entries fully 
associative
           ^^                                  ^^
cpu0: Initial APIC ID 2
cpu0: family 0f model 02 extfamily 01 extmodel 00
speedy {102} 

>Fix:
        

<Prev in Thread] Current Thread [Next in Thread>