Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-16 Thread Jung-uk Kim
On Thursday 15 September 2011 05:19 pm, Arnaud Lacombe wrote:
 Hi,

 On Thu, Sep 15, 2011 at 12:20 PM, Arnaud Lacombe 
lacom...@gmail.com wrote:
  Hi,
 
  From today's -CURRENT:
 
  Copyright (c) 1992-2011 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,
  1993, 1994 � � � �The Regents of the University of California.
  All rights reserved. FreeBSD is a registered trademark of The
  FreeBSD Foundation. FreeBSD 9.0-BETA2 #17 r225560+be1f8b9: Thu
  Sep 15 12:05:41 EDT 2011 �
  �al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/fr
 eebsd/src/sys/GENERIC i386
  CPU: Intel(R) Xeon(R) CPU � � � � � E5420 �@ 2.50GHz (2493.80-MHz
  686-class CPU) �Origin = GenuineIntel �Id = 0x1067a �Family = 6
  �Model = 17 �Stepping = 10
  �Features=0xbfebfbffFPU,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=0x40ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX1
 6,xTPR,PDCM,DCA,SSE4.1,XSAVE �AMD Features=0x2010NX,LM
  �AMD Features2=0x1LAHF
  �TSC: P-state invariant, performance statistics
  real memory �= 6442450944 (6144 MB)
  avail memory = 3677458432 (3507 MB)
  Event timer LAPIC quality 400
  ACPI APIC Table: 100509 APIC1714
  FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
  FreeBSD/SMP: 2 package(s) x 4 core(s)
  �cpu0 (BSP): APIC ID: �0
  �cpu1 (AP): APIC ID: �1
  �cpu2 (AP): APIC ID: �2
  �cpu3 (AP): APIC ID: �3
  �cpu4 (AP): APIC ID: �4
  �cpu5 (AP): APIC ID: �5
  �cpu6 (AP): APIC ID: �6
  �cpu7 (AP): APIC ID: �7
  [...]
  est0: failed to enable SpeedStep
  p4tcc0: CPU Frequency Thermal Control on cpu0
  est1: failed to enable SpeedStep
  p4tcc1: CPU Frequency Thermal Control on cpu1
  est2: failed to enable SpeedStep
  p4tcc2: CPU Frequency Thermal Control on cpu2
  est3: failed to enable SpeedStep
  p4tcc3: CPU Frequency Thermal Control on cpu3
  est4: failed to enable SpeedStep
  p4tcc4: CPU Frequency Thermal Control on cpu4
  est5: failed to enable SpeedStep
  p4tcc5: CPU Frequency Thermal Control on cpu5
  est6: failed to enable SpeedStep
  p4tcc6: CPU Frequency Thermal Control on cpu6
  est7: failed to enable SpeedStep
  p4tcc7: CPU Frequency Thermal Control on cpu7

 different issue, same config, still est(4) related, bot on a Q9650:

 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-BETA2 #16 r225462+e068e24-dirty: Sat Sep 10 14:50:17
 EDT 2011
 al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freeb
sd/src/sys/GENERIC i386
 CPU: Pentium III/Pentium III Xeon/Celeron (2666.72-MHz 686-class
 CPU) Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17 
 Stepping = 10
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTR
R,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,T
M,PBE
 Features2=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX
16,xTPR,PDCM,SSE4.1,XSAVE AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant, performance statistics
 real memory  = 2147483648 (2048 MB)
 avail memory = 2084757504 (1988 MB)
 Event timer LAPIC quality 400
 ACPI APIC Table: IntelR AWRDACPI
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
 [...]
 est0: Enhanced SpeedStep Frequency Control on cpu0
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 616082506000825
 device_attach: est0 attach returned 6
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: Enhanced SpeedStep Frequency Control on cpu1
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 616082506000825
 device_attach: est1 attach returned 6
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: Enhanced SpeedStep Frequency Control on cpu2
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 616082506000825
 device_attach: est2 attach returned 6
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: Enhanced SpeedStep Frequency Control on cpu3
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 616082506000825
 device_attach: est3 attach returned 6
 p4tcc3: CPU Frequency Thermal Control on cpu3

est depends on acpi_perf to get frequency/voltage information to 
get/set MSRs.  Your BIOS does not export _PSS mothods and that's why 
it's failing.  If you can find SSDT dump with _PSS methods for the 
*exact* CPU model from somewhere, you can insert it into your DSDT 
and override.

There are many possible causes.  Some BIOS do not care about 
workstation/server class CPUs.  Some BIOS only exports _PSS methods 
when it thinks the OS supports it.  Some (broken) BIOS dynamically 
constructs/loads/unloads _PSS methods during cold boot to limit 
boot-time frequency (usually for mobile processors), then acpi_perf 

9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Arnaud Lacombe
Hi,

From today's -CURRENT:

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-BETA2 #17 r225560+be1f8b9: Thu Sep 15 12:05:41 EDT 2011

al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freebsd/src/sys/GENERIC
i386
CPU: Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz (2493.80-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  
Features=0xbfebfbffFPU,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=0x40ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 6442450944 (6144 MB)
avail memory = 3677458432 (3507 MB)
Event timer LAPIC quality 400
ACPI APIC Table: 100509 APIC1714
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
[...]
est0: failed to enable SpeedStep
p4tcc0: CPU Frequency Thermal Control on cpu0
est1: failed to enable SpeedStep
p4tcc1: CPU Frequency Thermal Control on cpu1
est2: failed to enable SpeedStep
p4tcc2: CPU Frequency Thermal Control on cpu2
est3: failed to enable SpeedStep
p4tcc3: CPU Frequency Thermal Control on cpu3
est4: failed to enable SpeedStep
p4tcc4: CPU Frequency Thermal Control on cpu4
est5: failed to enable SpeedStep
p4tcc5: CPU Frequency Thermal Control on cpu5
est6: failed to enable SpeedStep
p4tcc6: CPU Frequency Thermal Control on cpu6
est7: failed to enable SpeedStep
p4tcc7: CPU Frequency Thermal Control on cpu7

It feels strange that the latest FreeBSD do not support est(4) on a 3
years old CPU...

Thanks,
 - Arnaud
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Andriy Gapon
on 15/09/2011 19:20 Arnaud Lacombe said the following:
 est0: failed to enable SpeedStep
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: failed to enable SpeedStep
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: failed to enable SpeedStep
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: failed to enable SpeedStep
 p4tcc3: CPU Frequency Thermal Control on cpu3
 est4: failed to enable SpeedStep
 p4tcc4: CPU Frequency Thermal Control on cpu4
 est5: failed to enable SpeedStep
 p4tcc5: CPU Frequency Thermal Control on cpu5
 est6: failed to enable SpeedStep
 p4tcc6: CPU Frequency Thermal Control on cpu6
 est7: failed to enable SpeedStep
 p4tcc7: CPU Frequency Thermal Control on cpu7
 
 It feels strange that the latest FreeBSD do not support est(4) on a 3
 years old CPU...

Somehow I do not read failed to enable as can not detect or can not
support SpeedStep on this CPU.

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread K. Macy
On Thu, Sep 15, 2011 at 9:22 PM, Andriy Gapon a...@freebsd.org wrote:
 on 15/09/2011 19:20 Arnaud Lacombe said the following:
 est0: failed to enable SpeedStep
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: failed to enable SpeedStep
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: failed to enable SpeedStep
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: failed to enable SpeedStep
 p4tcc3: CPU Frequency Thermal Control on cpu3
 est4: failed to enable SpeedStep
 p4tcc4: CPU Frequency Thermal Control on cpu4
 est5: failed to enable SpeedStep
 p4tcc5: CPU Frequency Thermal Control on cpu5
 est6: failed to enable SpeedStep
 p4tcc6: CPU Frequency Thermal Control on cpu6
 est7: failed to enable SpeedStep
 p4tcc7: CPU Frequency Thermal Control on cpu7

 It feels strange that the latest FreeBSD do not support est(4) on a 3
 years old CPU...

 Somehow I do not read failed to enable as can not detect or can not
 support SpeedStep on this CPU.


sys/x86/cpufreq/est.c:1008

/* Attempt to enable SpeedStep if not currently enabled. */
msr = rdmsr(MSR_MISC_ENABLE);
if ((msr  MSR_SS_ENABLE) == 0) {
wrmsr(MSR_MISC_ENABLE, msr | MSR_SS_ENABLE);
if (bootverbose)
device_printf(dev, enabling SpeedStep\n);

/* Check if the enable failed. */
msr = rdmsr(MSR_MISC_ENABLE);
if ((msr  MSR_SS_ENABLE) == 0) {
device_printf(dev, failed to enable SpeedStep\n);
return (ENXIO);
}
}


Andriy -

He is correct. Possibly power management on server processors isn't
considered a priority by the maintainer.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread K. Macy
I was just discussing this issues with some others - evidently est(9)
works fine on both older and newer cpus. I see you're active on lkml -
does the linux driver work correctly on this machine? i.e. do you know
that it isn't disabled in the BIOS.

Thanks

On Thu, Sep 15, 2011 at 6:20 PM, Arnaud Lacombe lacom...@gmail.com wrote:
 Hi,

 From today's -CURRENT:

 Copyright (c) 1992-2011 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-BETA2 #17 r225560+be1f8b9: Thu Sep 15 12:05:41 EDT 2011
    
 al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freebsd/src/sys/GENERIC
 i386
 CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2493.80-MHz 686-class 
 CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  Features=0xbfebfbffFPU,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=0x40ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
 real memory  = 6442450944 (6144 MB)
 avail memory = 3677458432 (3507 MB)
 Event timer LAPIC quality 400
 ACPI APIC Table: 100509 APIC1714
 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 FreeBSD/SMP: 2 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
  cpu4 (AP): APIC ID:  4
  cpu5 (AP): APIC ID:  5
  cpu6 (AP): APIC ID:  6
  cpu7 (AP): APIC ID:  7
 [...]
 est0: failed to enable SpeedStep
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: failed to enable SpeedStep
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: failed to enable SpeedStep
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: failed to enable SpeedStep
 p4tcc3: CPU Frequency Thermal Control on cpu3
 est4: failed to enable SpeedStep
 p4tcc4: CPU Frequency Thermal Control on cpu4
 est5: failed to enable SpeedStep
 p4tcc5: CPU Frequency Thermal Control on cpu5
 est6: failed to enable SpeedStep
 p4tcc6: CPU Frequency Thermal Control on cpu6
 est7: failed to enable SpeedStep
 p4tcc7: CPU Frequency Thermal Control on cpu7

 It feels strange that the latest FreeBSD do not support est(4) on a 3
 years old CPU...

 Thanks,
  - Arnaud
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Xin LI
On Thu, Sep 15, 2011 at 12:32 PM, K. Macy km...@freebsd.org wrote:
[...]
 sys/x86/cpufreq/est.c:1008

        /* Attempt to enable SpeedStep if not currently enabled. */
        msr = rdmsr(MSR_MISC_ENABLE);
        if ((msr  MSR_SS_ENABLE) == 0) {
                wrmsr(MSR_MISC_ENABLE, msr | MSR_SS_ENABLE);
                if (bootverbose)
                        device_printf(dev, enabling SpeedStep\n);

                /* Check if the enable failed. */
                msr = rdmsr(MSR_MISC_ENABLE);
                if ((msr  MSR_SS_ENABLE) == 0) {
                        device_printf(dev, failed to enable SpeedStep\n);
                        return (ENXIO);

Looking at the Intel® 64 and IA-32 Architectures Software Developer’s
Manual (section 14.1), I think the code here is right?

(I'd expect Linux do the same since the code are mostly the same there).

Cheers,
-- 
Xin LI delp...@delphij.net https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Arnaud Lacombe
Hi,

On Thu, Sep 15, 2011 at 4:26 PM, K. Macy km...@freebsd.org wrote:
 I was just discussing this issues with some others - evidently est(9)
 works fine on both older and newer cpus. I see you're active on lkml -
 does the linux driver work correctly on this machine? i.e. do you know
 that it isn't disabled in the BIOS.

Actually, I checked the BIOS after I sent the mail. I not see anything
related to that. Looking again, there is a BIOS entry named Ratio
CMOS Setting whose help reads Sets the ratio between CPU Core Clock
and the FSB. Note: For CedarMill and Prescott Family CPUs, the setup
option only available when Intel SpeedStep technology is disabled..
However, I'm not sure whether or not the E5420 is either a CedarMill
and Prescott Family CPUs, or maybe the BIOS is just not enabling the
feature.

I did not try to boot a Linux on that platform.

 - Arnaud

 Thanks

 On Thu, Sep 15, 2011 at 6:20 PM, Arnaud Lacombe lacom...@gmail.com wrote:
 Hi,

 From today's -CURRENT:

 Copyright (c) 1992-2011 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-BETA2 #17 r225560+be1f8b9: Thu Sep 15 12:05:41 EDT 2011
    
 al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freebsd/src/sys/GENERIC
 i386
 CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2493.80-MHz 686-class 
 CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  Features=0xbfebfbffFPU,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=0x40ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
 real memory  = 6442450944 (6144 MB)
 avail memory = 3677458432 (3507 MB)
 Event timer LAPIC quality 400
 ACPI APIC Table: 100509 APIC1714
 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 FreeBSD/SMP: 2 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
  cpu4 (AP): APIC ID:  4
  cpu5 (AP): APIC ID:  5
  cpu6 (AP): APIC ID:  6
  cpu7 (AP): APIC ID:  7
 [...]
 est0: failed to enable SpeedStep
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: failed to enable SpeedStep
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: failed to enable SpeedStep
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: failed to enable SpeedStep
 p4tcc3: CPU Frequency Thermal Control on cpu3
 est4: failed to enable SpeedStep
 p4tcc4: CPU Frequency Thermal Control on cpu4
 est5: failed to enable SpeedStep
 p4tcc5: CPU Frequency Thermal Control on cpu5
 est6: failed to enable SpeedStep
 p4tcc6: CPU Frequency Thermal Control on cpu6
 est7: failed to enable SpeedStep
 p4tcc7: CPU Frequency Thermal Control on cpu7

 It feels strange that the latest FreeBSD do not support est(4) on a 3
 years old CPU...

 Thanks,
  - Arnaud
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Arnaud Lacombe
Hi,

On Thu, Sep 15, 2011 at 12:20 PM, Arnaud Lacombe lacom...@gmail.com wrote:
 Hi,

 From today's -CURRENT:

 Copyright (c) 1992-2011 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-BETA2 #17 r225560+be1f8b9: Thu Sep 15 12:05:41 EDT 2011
    
 al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freebsd/src/sys/GENERIC
 i386
 CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2493.80-MHz 686-class 
 CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  Features=0xbfebfbffFPU,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=0x40ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
 real memory  = 6442450944 (6144 MB)
 avail memory = 3677458432 (3507 MB)
 Event timer LAPIC quality 400
 ACPI APIC Table: 100509 APIC1714
 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 FreeBSD/SMP: 2 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
  cpu4 (AP): APIC ID:  4
  cpu5 (AP): APIC ID:  5
  cpu6 (AP): APIC ID:  6
  cpu7 (AP): APIC ID:  7
 [...]
 est0: failed to enable SpeedStep
 p4tcc0: CPU Frequency Thermal Control on cpu0
 est1: failed to enable SpeedStep
 p4tcc1: CPU Frequency Thermal Control on cpu1
 est2: failed to enable SpeedStep
 p4tcc2: CPU Frequency Thermal Control on cpu2
 est3: failed to enable SpeedStep
 p4tcc3: CPU Frequency Thermal Control on cpu3
 est4: failed to enable SpeedStep
 p4tcc4: CPU Frequency Thermal Control on cpu4
 est5: failed to enable SpeedStep
 p4tcc5: CPU Frequency Thermal Control on cpu5
 est6: failed to enable SpeedStep
 p4tcc6: CPU Frequency Thermal Control on cpu6
 est7: failed to enable SpeedStep
 p4tcc7: CPU Frequency Thermal Control on cpu7

different issue, same config, still est(4) related, bot on a Q9650:

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-BETA2 #16 r225462+e068e24-dirty: Sat Sep 10 14:50:17 EDT 2011

al@shai-hulud:/data/src/freebsd/obj/master/i386.i386/data/src/freebsd/src/sys/GENERIC
i386
CPU: Pentium III/Pentium III Xeon/Celeron (2666.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  
Features=0xbfebfbffFPU,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=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)
avail memory = 2084757504 (1988 MB)
Event timer LAPIC quality 400
ACPI APIC Table: IntelR AWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
[...]
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 616082506000825
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
est1: Enhanced SpeedStep Frequency Control on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 616082506000825
device_attach: est1 attach returned 6
p4tcc1: CPU Frequency Thermal Control on cpu1
est2: Enhanced SpeedStep Frequency Control on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 616082506000825
device_attach: est2 attach returned 6
p4tcc2: CPU Frequency Thermal Control on cpu2
est3: Enhanced SpeedStep Frequency Control on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 616082506000825
device_attach: est3 attach returned 6
p4tcc3: CPU Frequency Thermal Control on cpu3

 - Arnaud

 It feels strange that the latest FreeBSD do not support est(4) on a 3
 years old CPU...

 Thanks,
  - Arnaud

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-BETA2 do not support SpeedStep on E5420

2011-09-15 Thread Andriy Gapon
on 16/09/2011 00:19 Arnaud Lacombe said the following:
 est0: Enhanced SpeedStep Frequency Control on cpu0
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 616082506000825
 device_attach: est0 attach returned 6

This is a far more common issue.  The output implies that acpi_perf driver
hasn't been able to attach, presumably because it couldn't evaluate _PSS method.
We usually discuss problems like this one on acpi@ and you can find some
information in the archives of that mailing list.
Diagnosing an issue like this requires examining DSDT and SSDT(s), if present,
to see the logic there and what capabilities the firmware/BIOS expects from the 
OS.
It's a tedious process and I am currently short on time.

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org