Subject: Re: port-i386/35676: AMD PowerNow! inconsistent probe message
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 02/17/2007 18:55:18
The following reply was made to PR port-i386/35676; it has been noted by GNATS.

From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: fukumoto@imasy.or.jp
Subject: Re: port-i386/35676: AMD PowerNow! inconsistent probe message
Date: Sat, 17 Feb 2007 19:52:11 +0100

 On Sat, 17 Feb 2007 18:40:01 +0000 (UTC)
 fukumoto@imasy.or.jp wrote:
 
 > >Number:         35676
 > >Category:       port-i386
 > >Synopsis:       AMD PowerNow! inconsistent probe message
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    port-i386-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Feb 17 18:40:00 +0000 2007
 > >Originator:     fukumoto@imasy.or.jp
 > >Release:        NetBSD 4.0_BETA2
 > >Organization:
 > >Environment:
 > 	
 > 	
 > System: NetBSD kestrel 4.0_BETA2 NetBSD 4.0_BETA2 (Kestrel) #0: Sat
 > Feb 17 13:27:06 JST 2007
 > fukumoto@kestrel:/usr/obj/sys/arch/i386/compile/Kestrel i386
 > Architecture: i386 Machine: i386
 > >Description:
 > On an AMD Athlon X2 machine, dmesg has inconsistent message.
 > (exceprt here)
 > 
 > cpu0 at mainbus0: apid 0 (boot processor)
 > cpu0: AMD Athlon 64 X2 (686-class), 2204.72 MHz, id 0x40fb2
 > 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,B27,HTT,LONG,3DNOW2,3DNOW> cpu0:
 > features2 2001<SSE3> cpu0: "AMD Athlon(tm) 64 X2 Dual Core Processor
 > 4200+" cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line
 > 2-way cpu0: L2 cache 512 KB 64B/line 16-way
 > cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully
 > associative cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB
 > entries fully associative cpu0: AMD Power Management features:
 > 3f<STC,TM,TTP,VID,FID,TS> cpu0: AMD PowerNow! Technology 2200 MHz
 > cpu0: available frequencies (Mhz): 1000 1800 2000 2200
 > cpu0: calibrating local timer
 > cpu0: apic clock running at 200 MHz
 > cpu0: 8 page colors
 > cpu1 at mainbus0: apid 1 (application processor)
 > cpu1: starting
 > cpu1: AMD Athlon 64 X2 (686-class), 2204.60 MHz, id 0x40fb2
 > cpu1: features
 > ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR> cpu1:
 > features ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX> cpu1:
 > features ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW> cpu1:
 > features2 2001<SSE3> cpu1: "AMD Athlon(tm) 64 X2 Dual Core Processor
 > 4200+" cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line
 > 2-way cpu1: L2 cache 512 KB 64B/line 16-way
 > cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully
 > associative cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB
 > entries fully associative cpu1: AMD Power Management features:
 > 3f<STC,TM,TTP,VID,FID,TS> cpu0: AMD PowerNow! Technology 2200 MHz
 > cpu0: available frequencies (Mhz): 1000 1800 2000 2200
 > 
 > Note the last two lines start with "cpu0".
 > identcpu.c:identifycpu() is probing powernow_probe(ci) where ci is a
 > pointer to struct cpu_info, but the information is not passed to
 > k7/k8_powernow_init(). I guess it doesn't matter much, but I think it
 > looks weird.
 
 Hi, could you please try the following patch:
 
 http://www.xtrarom.org/patches/powernowk8.diff
 
 -- 
 http://plog.xtrarom.org/
 Juan RP's blog - NetBSD/pkgsrc news in Spanish