Jump to content

HowTo - SSE3 Kernel with Sleep + SpeedStep


  • Please log in to reply
322 replies to this topic

#41
Kiko

Kiko

    You Dont Understand Me

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,889 posts
  • Gender:Female
  • Location:United States Of Israel
To Control the frequency use the included CPU Throttler app in my installer, you can either set it to dynamic or manual, (dynamic changes your frequency according to your cpu load, and manual lets you set it youself). Also, Bresinks temperature montior is weird on my computer,. When i had old 10.4.4 SMBios installed i always got temp raitngs of 45C (where it should be) using new paulicats smbios i get ratings of 52C (so most likely just a 10C bias), just keep that in mind.

#42
paulicat

paulicat

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
Theres something very weird going on there.
Im going to test out the kext thats in that link, cause I got a strong feeling that is NOT the kext I've distributed.
I'll report back as soon as I test...

Paulicat.

EDIT: As I suspected, that is NOT the kext I distributed with my kernel. I'll be making a package shortly with my kernel and my modified kext. Ill update this post with a url shortly.

Edited by paulicat, 23 February 2007 - 12:01 AM.


#43
Kiko

Kiko

    You Dont Understand Me

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,889 posts
  • Gender:Female
  • Location:United States Of Israel
paulicat, the kext in my installer, was not the one you distributed, i had to edit it a bit to make it work on my Core 2 Duo's, it also worked on all my other Pentium 4's. (3.0ghz sse3) and on my Core Duo laptop. I can make a pkg with the kext u distributed in it as well, if thats what you want.

#44
paulicat

paulicat

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
Ok, well heres an installer of exactly what is on my system right now.

http://tinyurl.com/26emuu

Okik, can you tell me what you modded (pm or irc if you prefer) , because I had to mod it to make it work with 4.8 in the first place...

Paulicat

#45
frankietabs

frankietabs

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Okik, what temp are you getting off your laptop with speedstep? I am getting 65 at idle and it goes to about 74 when using the computer. Mine is a Core 2 Duo.

paulicat, the kext in my installer, was not the one you distributed, i had to edit it a bit to make it work on my Core 2 Duo's, it also worked on all my other Pentium 4's. (3.0ghz sse3) and on my Core Duo laptop. I can make a pkg with the kext u distributed in it as well, if thats what you want.



#46
Kiko

Kiko

    You Dont Understand Me

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,889 posts
  • Gender:Female
  • Location:United States Of Israel
for my core 2 duo, i get 53C reported (but take 10C off that for bias) and it = 43C. I think bresink adds a couple of C to it, because 74C is crazy, that'd burn a chicken. If you can, load up the cpu heaps in Mac OS X, then look in ur bios (if u have a heat sensor)

Paulicat, i'll try get to irc this afternoon, as here (at college, we have a firewall). If i miss you i'll send you a PM, but basically its just the source code off niall's site.

#47
paulicat

paulicat

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
Okik, can you pop in irc now? Im curious to know what you changed?
Cause I can tell you you missed one thing in the kext that I found even before I started working on the kernel.
Lets swap code dude...

Paulicat.

#48
Kiko

Kiko

    You Dont Understand Me

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,889 posts
  • Gender:Female
  • Location:United States Of Israel
Ok, i'll skip last class, and head home now. I'l be home in about 1-2 hours max. Cya

#49
paulicat

paulicat

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
haha, dude, I didnt mean to say that you should skip class bro :D

Ill be on for the next 3 hours...

#50
ppan76

ppan76

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
Ok I tried both of the packages and it seems I am getting better results with Okik's "modified" kext.

Results with Paulicat's:

Syslog:
Feb 22 20:21:26 NOTEBOOK SystemStarter[316]: authentication service (326) did not complete successfully
Feb 22 20:21:26 NOTEBOOK kernel[0]: (336: ps)tfp: failed on 0:
Feb 22 20:21:26 NOTEBOOK SystemStarter[316]: ACPI CPU Throttle capabilities (329) did not complete successfully
Feb 22 20:21:26 NOTEBOOK kernel[0]: (336: ps)tfp: failed on 0:
aped[72]: open[344] is running as the super-user. It is not possible for Application Enhancer to affect this process in any manner whatsoever.
Feb 22 20:21:28 NOTEBOOK kernel[0]: (368: ps)tfp: failed on 0:
Feb 22 20:21:28 NOTEBOOK SystemStarter[316]: The following StartupItems failed to properly start:
Feb 22 20:21:28 NOTEBOOK kernel[0]: (368: ps)tfp: failed on 0:
Feb 22 20:21:28 NOTEBOOK SystemStarter[316]: /System/Library/StartupItems/AuthServer
Feb 22 20:21:28 NOTEBOOK kernel[0]: (368: ps)tfp: failed on 0:
Feb 22 20:21:28 NOTEBOOK SystemStarter[316]: - execution of Startup script failed
Feb 22 20:22:32 localhost kernel[0]: ADING: com.apple.iokit.IOATABlockStorage
....

Feb 22 20:23:37 NOTEBOOK kernel[0]: ACPICPUThrottle: Adding CPU1
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P0, 1596Mhz, 27000mW, 10us, 10us (ctrl=0xc2c, status=0xc2c)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P1, 1330Mhz, 21600mW, 10us, 10us (ctrl=0xa24, status=0xa24)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P2, 1064Mhz, 16200mW, 10us, 10us (ctrl=0x81c, status=0x81c)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P3, 798Mhz, 10800mW, 10us, 10us (ctrl=0x613, status=0x613)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P4, 200Mhz, 10800mW, 592us, 512us (ctrl=0x186, status=0xffff)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ---> P5, 100Mhz, 10800mW, 592us, 512us (ctrl=0x286, status=0xffff)
Feb 22 20:23:37 NOTEBOOK kernel[0]: ACPICPUThrottle: Using direct drive of Intel throttling
Feb 22 20:23:37 NOTEBOOK kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0x613, want_status=0x0!
Feb 22 20:23:37 NOTEBOOK kernel[0]: ACPICPUThrottle: Adding CPU2
Feb 22 20:23:37 NOTEBOOK kernel[0]: ACPICPUThrottle: No valid CPUs returned by ACPI! It's possible your BIOS does not think your system should be throttled and therefore did not return any available power states, or maybe your CPU only supports one other power state than maximum which is below 1Ghz!
Feb 22 20:23:39 NOTEBOOK kernel[0]: -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
......


Sysctl:
hw.cpufrequency: 1596000000
hw.cpufrequency_min: 100000000
hw.cpufrequency_max: 1596000000

It really seems that CPUThrottle is not loaded.

#51
offall

offall

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
Hi Paulicat
I tried the command sysctl -a | grep curfreq and sysctl -a | grep throttle

all gave me error message saying

"kern.exec: unknown type returned"

Is there anything I haven't done to enable this two command?

#52
ppan76

ppan76

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts

Hi Paulicat
I tried the command sysctl -a | grep curfreq and sysctl -a | grep throttle

all gave me error message saying

"kern.exec: unknown type returned"

Is there anything I haven't done to enable this two command?


That means that CPUThrottle was not loaded correctly. If it did, you would get something.

Edited by ppan76, 23 February 2007 - 01:34 AM.


#53
offall

offall

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
Thanks Ppan76, then how can I load it?
But as I remember ACPIcputhrottle.kext is conflicting with 10.4.8 kernel right?


That means that CPUThrottle was not loaded correctly. If it did, you would get something.



#54
paulicat

paulicat

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
ok guys, this: "kern.exec: unknown type returned" is an error returned by ALL osx boxes. Its not from or related to my kernel mods.

Once Okik and I get our changes together, we'll have a solid kext.

Edited by paulicat, 23 February 2007 - 01:42 AM.


#55
offall

offall

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
Thanks Paulicat!, hope OKik and you can solve it

Ppan76, may be you are right
I try to kextload ACPICPUthrottle and it says

kextload: extension ACPICPUThrottle.kext appears to be valid
kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod



That means that CPUThrottle was not loaded correctly. If it did, you would get something.



#56
naldo

naldo

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
excellent ... so its only a matter of time now (hopefully).

Good work guys.

#57
Kiko

Kiko

    You Dont Understand Me

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,889 posts
  • Gender:Female
  • Location:United States Of Israel

kextload: extension ACPICPUThrottle.kext appears to be valid
kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod


Thats the error i was getting, try loading it again, i.e: do it three times in one go. Or try the kext from my pkg

#58
offall

offall

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
Thanks Okik
here is my system log after I tried few mor times
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPI CPU Throttle loaded
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Adding CPU0
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Adding CPU1
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Adding CPU2
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Adding CPU3
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Feb 23 00:04:52 chaocolates-computer kernel[0]: ACPICPUThrottle: No valid CPUs returned by ACPI! It's possible your BIOS does not think your system should be throttled and therefore did not return any available power states, or maybe your CPU only supports one other power state than maximum which is below 1Ghz!



I actually use your kext,
The CPU throttle doesn't work either, report frequency of zero and all option are blank

just for your reference.
my CPU is pentium D 945 dual core at 3.4G support EIST S3 T1M and in windows with CPU right mark utiliy I can set 7 VIP/PID from 12X (2.4G) to 17x (3.4G)
so I don't quite understand why it says my CPU doesn't support power state or max lower than 1G



btw
one more thing I found is that after install your pkg, I cannot try paulicat's pkg again.
Ppan76 seems able to do it, I wondering how? (go to back up kernel, delete /Library/Startupitems and delete the cpu throttle from application folder?)


Thats the error i was getting, try loading it again, i.e: do it three times in one go. Or try the kext from my pkg



#59
ppan76

ppan76

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts

one more thing I found is that after install your pkg, I cannot try paulicat's pkg again.
Ppan76 seems able to do it, I wondering how? (go to back up kernel, delete /Library/Startupitems and delete the cpu throttle from application folder?)



The way I do is start macosx on single user mode (-s).
Then delete the CPUThrottle Kext from the \Library\StartupItems and copy my mach_kernel back.
After that you can install whatever packages you need as many times as you want to test.

#60
ppan76

ppan76

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts

To Control the frequency use the included CPU Throttler app in my installer, you can either set it to dynamic or manual, (dynamic changes your frequency according to your cpu load, and manual lets you set it youself). Also, Bresinks temperature montior is weird on my computer,. When i had old 10.4.4 SMBios installed i always got temp raitngs of 45C (where it should be) using new paulicats smbios i get ratings of 52C (so most likely just a 10C bias), just keep that in mind.



I just realized there was a CPU Throttler Application Installed. I just launched it and tried changing the settings. Nothing happends when I change the CPU Speed or load or save a profile. Nothing happends.

Also when the appication is open. I cannot run Activity Monitor, Terminal and checking System Profiler don't return all the parameters.

Thanks.

Edited by ppan76, 23 February 2007 - 06:10 AM.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy