Date: Mon, 10 Mar 2008 17:56:23 -0400 From: John Baldwin <jhb@FreeBSD.org> To: Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Rui Paulo <rpaulo@FreeBSD.org> Subject: Re: cvs commit: src/sys/i386/cpufreq est.c Message-ID: <200803101756.23487.jhb@freebsd.org> In-Reply-To: <703678.84353.qm@web33702.mail.mud.yahoo.com> References: <703678.84353.qm@web33702.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 10 March 2008 04:53:57 pm Abdullah Ibn Hamad Al-Marri wrote: > ----- Original Message ---- > > From: John Baldwin <jhb@FreeBSD.org> > > To: Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> > > Cc: cvs-src@FreeBSD.org; src-committers@FreeBSD.org; Rui Paulo <rpaulo@FreeBSD.org> > > Sent: Monday, March 10, 2008 7:56:56 PM > > Subject: Re: cvs commit: src/sys/i386/cpufreq est.c > > > > On Saturday 08 March 2008 11:33:13 am Abdullah Ibn Hamad Al-Marri wrote: > > > ----- Original Message ---- > > > > From: Rui Paulo > > > > To: Abdullah Ibn Hamad Al-Marri > > > > Cc: src-committers@freebsd.org; cvs-src@freebsd.org; cvs-all@freebsd.org > > > > Sent: Saturday, March 8, 2008 6:38:10 PM > > > > Subject: Re: cvs commit: src/sys/i386/cpufreq est.c > > > > > > > > On Sat, Mar 8, 2008 at 2:21 PM, Abdullah Ibn Hamad Al-Marri > > > > wrote: > > > > > > > > > > ----- Original Message ---- > > > > > > > > > > > From: Rui Paulo > > > > > > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; > > cvs-all@FreeBSD.org > > > > > > Sent: Saturday, March 8, 2008 5:12:35 PM > > > > > > Subject: cvs commit: src/sys/i386/cpufreq est.c > > > > > > > > > > > > rpaulo 2008-03-08 14:12:35 UTC > > > > > > > > > > > > FreeBSD src repository > > > > > > > > > > > > Modified files: (Branch: RELENG_7) > > > > > > > > > > > sys/i386/cpufreq est.c > > > > > > Log: > > > > > > MFC r1.12: > > > > > > Validate the id16 values gathered from ACPI (previously a TODO > > > > > > item). > > > > > > Style changes by me and njl. > > > > > > > > > > > > Submitted by: Takeharu KATO > > > > > > PR: 119350 > > > > > > > > > > > > Revision Changes Path > > > > > > 1.11.2.1 +59 -17 src/sys/i386/cpufreq/est.c > > > > > > > > > > Thanks, how about AMD64? > > > > > > > > This directory is shared by i386 and amd64. > > > > > > > > Regards. > > > > -- > > > > Rui Paulo > > > > > > > > > > > > > Thank you, > > > > > > Here what I got. > > > FreeBSD 7.0-STABLE #0: Sat Mar 8 16:16:54 UTC 2008 > > > arabian@MX1.WeArab.Net:/usr/obj/usr/src/sys/MX1 > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2666.62-MHz K8-class > > CPU) > > > Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 > > > > > Features=0xbfebfbff > > > > > Features2=0xe3fd > > > AMD Features=0x20100800 > > > AMD Features2=0x1 > > > Cores per package: 2 > > > usable memory = 4276043776 (4077 MB) > > > avail memory = 4106977280 (3916 MB) > > > ACPI APIC Table: > > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > > cpu0 (BSP): APIC ID: 0 > > > cpu1 (AP): APIC ID: 1 > > > ioapic0 irqs 0-23 on motherboard > > > acpi0: on motherboard > > > acpi0: [ITHREAD] > > > acpi0: Power Button (fixed) > > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > > > acpi_hpet0: iomem 0xfed00000-0xfed003ff on > > acpi0 > > > Timecounter "HPET" frequency 14318180 Hz quality 900 > > > cpu0: on acpi0 > > > est0: on cpu0 > > > est: CPU supports Enhanced Speedstep, but is not recognized. > > > est: cpu_vendor GenuineIntel, msr 82a082a0600082a > > > device_attach: est0 attach returned 6 > > > p4tcc0: on cpu0 > > > cpu1: on acpi0 > > > est1: on cpu1 > > > est: CPU supports Enhanced Speedstep, but is not recognized. > > > est: cpu_vendor GenuineIntel, msr 82a082a0600082a > > > device_attach: est1 attach returned 6 > > > p4tcc1: on cpu1 > > > > Try www.freebsd.org/~jhb/patches/est_msr.patch > > > > -- > > John Baldwin > > Hey John > > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-STABLE #1: Mon Mar 10 20:43:50 UTC 2008 > arabian@MX1.WeArab.Net:/usr/obj/usr/src/sys/MX1 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2666.62-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 > 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=0xe3fd<SSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> > AMD Features=0x20100800<SYSCALL,NX,LM> > AMD Features2=0x1<LAHF> > Cores per package: 2 > usable memory = 4276043776 (4077 MB) > avail memory = 4106977280 (3916 MB) > ACPI APIC Table: <INTEL DG31PR> > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 <Version 2.0> irqs 0-23 on motherboard > acpi0: <INTEL> on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: <ACPI CPU> on acpi0 > est0: <Enhanced SpeedStep Frequency Control> on cpu0 > est0: Guessed bus clock (high) of 333 MHz > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > est0: Guessed bus clock (low) of 333 MHz > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 82a082a0600082a > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > device_attach: est0 attach returned 6 > p4tcc0: <CPU Frequency Thermal Control> on cpu0 Unless you really have a bus clock of 333 (in which case the test needs to be updated) the MSR's don't add up. You can try changing the statement that tests for 100 or 133 to accept 333 as well. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803101756.23487.jhb>