Jump to content

Experimental Intel SpeedStep kext


mercurysquad
 Share

291 posts in this topic

Recommended Posts

I tried changing the KernelFeatures field and rebooted each time I did so and unfortunately each one resulted in a KP, is there anything I can supply you with to maybe help?

 

After changing Info.plist you have to do before rebooting :

sudo touch /System/Library/Extensions

 

Also try booting with -f -v option. If that doesn't help, please boot using -s option, then at the command prompt, type kextload /System/Library/Extensions/IntelEnhancedSpeedStep.kext, and if you get a KP, note down the error message and post here.

Link to comment
Share on other sites

Here is an output from dmesg to do with the p-states for cpu throttling, is it something to do with the returns state 0xffffffff?

 

ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0xffffffff

Physical address is f0610000

TCR = 24800000

ApplePS2Trackpad: Synaptics TouchPad v7.0

GFX0: family specific matching fails

display: family specific matching fails

GFX0: family specific matching fails

ALCinject: Starting.

ALCinject: Setting built-in=<data not shown>

ALCinject: Setting layout-id=<data not shown>

GFX0: family specific matching fails

Alkor: Starting.

Chosen model GMA 950

Alkor: Setting built-in=<data not shown>

Alkor: Setting AAPL,HasPanel=<data not shown>

Alkor: Setting AAPL,SelfRefreshSupported=<data not shown>

Alkor: Setting AAPL,NumFramebuffers=<data not shown>

Alkor: Setting AAPL,NumDisplays=<data not shown>

Alkor: Setting AAPL01,Depth=<data not shown>

Alkor: Setting AAPL01,Pipe=<data not shown>

Alkor: Setting AAPL01,DataJustify=<data not shown>

GFX0: match category IOFramebuffer exists

dsmos: Initializing...

dsmos: Hook and decryption contexts set!

IntelEnhancedSpeedStep: INFO Initializing version 1.3.2 © Prashant Vaibhav <mercurysquad@yahoo.com>

dsmos: Starting...

IntelEnhancedSpeedStep: INFO On your processor, voltages can be changed in 12.5 mV steps

IntelEnhancedSpeedStep: INFO Using 4 PStates.

Link to comment
Share on other sites

First good result in 10.4.6

kextload: extension /Off/IntelEnhancedSpeedStep.kext appears to be valid
kextload: loading extension /Off/IntelEnhancedSpeedStep.kext

I disable mp_rendezvous so I don't see if it work or no

//Slice - I have no rendezvous	
//	mp_rendezvous(disableInterrupts, throttleCPU, enableInterrupts, &p);
disableInterrupts(&p);
throttleCPU(&p);
enableInterrupts(&p);
//

10.4.6 is not good system for that.

Picture_2.png

Link to comment
Share on other sites

First good result in 10.4.6

kextload: extension /Off/IntelEnhancedSpeedStep.kext appears to be valid
kextload: loading extension /Off/IntelEnhancedSpeedStep.kext

I disable mp_rendezvous so I don't see if it work or no

//Slice - I have no rendezvous	
//	mp_rendezvous(disableInterrupts, throttleCPU, enableInterrupts, &p);
disableInterrupts(&p);
throttleCPU(&p);
enableInterrupts(&p);
//

10.4.6 is not good system for that.

 

Hmm, that would mean the kext will only work reliably for uni-processor systems. Can't say about systems with more than 1 processor. Does 10.4.6 support multiprocessor systems??

Link to comment
Share on other sites

Does 10.4.6 support multiprocessor systems??

Seems no.

 

I made Tiger version (with rendezvous!) but I am not clear what to check.

System 10.4.9 Core2Duo.

SpeedStep loaded, ask password and finish.

DCPUManager show percent idle as in my previous post.

What else?

Picture_5.png

Link to comment
Share on other sites

Seems no.

 

I made Tiger version (with rendezvous!) but I am not clear what to check.

System 10.4.9 Core2Duo.

SpeedStep loaded, ask password and finish.

DCPUManager show percent idle as in my previous post.

What else?

 

You should check output of

sysctl -a | grep throttle

after loading the kext. If you get no output related to the kern.cputhrottle, that means the kext itself is not loading properly. Otherwise you can use the sysctl keys for information and debugging.

Link to comment
Share on other sites

kextload: extension /Off/IntelEnhancedSpeedStep.kext appears to be valid
kextload: loading extension /Off/IntelEnhancedSpeedStep.kext
kextload: /Off/IntelEnhancedSpeedStep.kext loaded successfully
kextload: loading personalities named:
kextload:	 IntelEnhancedSpeedStep
kextload: sending 1 personality to the kernel
kextload: matching started for /Off/IntelEnhancedSpeedStep.kext
sergeys-computer:~ root# sysctl -a | grep throttle
kern.exec: unknown type returned

I don't know.

Picture_6.png

Link to comment
Share on other sites

At first, looks "acceptable":

bash-3.2# kextload -v /System/Library/Extensions/IntelEnhancedSpeedStep.kext
extension /System/Library/Extensions/IntelEnhancedSpeedStep.kext has potential problems:
Warnings
{
"Kext has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style" = true
}

kextload: extension /System/Library/Extensions/IntelEnhancedSpeedStep.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/IntelEnhancedSpeedStep.kext
kextload: /System/Library/Extensions/IntelEnhancedSpeedStep.kext loaded successfully
kextload: sending personalities to kernel:
kextload:	 from extension /System/Library/Extensions/IntelEnhancedSpeedStep.kext:
kextload:		 IntelEnhancedSpeedStep
kextload: sending 1 personality to the kernel
kextload: matching started for /System/Library/Extensions/IntelEnhancedSpeedStep.kext

 

But at Console messages:

 

9/21/08 12:41:53 PM kernel IntelEnhancedSpeedStep: WARN  No Intel processor found! You have GenuineIntel. Kext will not load

 

OK, so my "GenuineIntel" is not "Intel". Say, is this kext for Core CPUs only?

 

bash-3.2# sysctl machdep.cpu.features
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL CID TPR
bash-3.2# sysctl machdep.cpu.model
machdep.cpu.model: 4
bash-3.2# sysctl machdep.cpu.family
machdep.cpu.family: 15
bash-3.2# sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Intel(R) Pentium(R) 4 CPU 3.00GHz
bash-3.2# sysctl machdep.cpu.vendor
machdep.cpu.vendor: GenuineIntel

Link to comment
Share on other sites

9/21/08 12:41:53 PM kernel IntelEnhancedSpeedStep: WARN  No Intel processor found! You have GenuineIntel. Kext will not load

 

OK, so my "GenuineIntel" is not "Intel". Say, is this kext for Core CPUs only?

 

bash-3.2# sysctl machdep.cpu.features
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL CID TPR

 

Hi, your cpu doesn't support enhanced speedstep. The cpu features line should have had "EST" in it. Look at mine:

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT CLFSH DS ACPI MMX FXSR SSE SSE2 SS TM EST TM2

 

If you look at the source, line 226/227, it checks that the string is GenuineIntel (it is), but also that EST is actually supported (it's not). I should add a more explanatory note in the failure message, thanks for the heads up.

Link to comment
Share on other sites

Some news (10.4.6)

Sep 22 15:28:09 sergey-computer kernel[0]: IntelEnhancedSpeedStep: INFO  Initializing version 1.3.2 (C) Prashant Vaibhav <-- I think it is not correct to show e-mail here-->
Sep 22 15:28:09 sergey-computer kernel[0]: IntelEnhancedSpeedStep: WARN  EFI registry entry not found!

It should work only with EFI?

Link to comment
Share on other sites

kext seems to work fine on my system. I run an Acer 5220 Core2Duo 2,2GHz Leopard 10.5.5 Vanilla Kernel.

Frequencies available: 800, 1200, 1600, 2200. Speedstep works. System is relatively smooth. Animations are a bit choppy but that's acceptable. Sleep/ Wakeup works. Great Work so far!

Link to comment
Share on other sites

Some news (10.4.6)

Sep 22 15:28:09 sergey-computer kernel[0]: IntelEnhancedSpeedStep: INFO  Initializing version 1.3.2 (C) Prashant Vaibhav <-- I think it is not correct to show e-mail here-->
Sep 22 15:28:09 sergey-computer kernel[0]: IntelEnhancedSpeedStep: WARN  EFI registry entry not found!

It should work only with EFI?

Yes. To get cpu info, pstates etc.

Link to comment
Share on other sites

My system seems to work fine and when i launch speedstep i can see frequencies going from 800 to 2500.

But i would like to be sure that both cores are activited. Is there a command in the terminal to check this.

So far, after having installing the intelenhencedspeedstep.kext sleep ain't working.

Does speedstep has to be running if we want the cpu to change its frequency according to its need ?

thanks

Link to comment
Share on other sites

My system seems to work fine and when i launch speedstep i can see frequencies going from 800 to 2500.

But i would like to be sure that both cores are activited. Is there a command in the terminal to check this.

So far, after having installing the intelenhencedspeedstep.kext sleep ain't working.

Does speedstep has to be running if we want the cpu to change its frequency according to its need ?

thanks

 

I've tested and the kext works fine for all cores - don't worry about it.

 

As for sleep, make sure you are either using vanilla kernel, or voodoo kernel, or ToH sleep kernel. You don't need a toh speedstep kernel, and a speedstep kernel cannot sleep.

 

Does the intelspeedstep.kext replaces the appleacpithermal.kext in AppleAcpiPlatform.kext?

 

also do u have a appleacpithermal.kext version 1.1.0 around?

 

No, it only replaces ACPICPUThrottle.kext and AppleIntelCPUPowerManagement.kext.

 

---------

 

Note: Closing this thread as it has run its course. please make different threads for different issues to make it easier for others to help and get help (rather than reading 15 pages of a thread).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...