Help - Search - Members - Calendar
Full Version: HowTo - SSE3 Kernel with Sleep + SpeedStep
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4, 5, 6, 7
Kiko
Ahh, saves me from writing one myself biggrin.gif
ppan76
C'mom guys!!!!

My NUTS are getting warm over here.
fabioxx
hi all, i'm going to test this if i can with my system (see specs in my sign): i have a desktop and i miss sleep function. the most of other feature work, so this would be one of the last fixes for my system.
please tell me if i can try.
bye.
Kiko
Will do more work on this tommorow as its a day off from college. I have some interesting things to test smile.gif. and fabioxx use the installer made by paulicat
munky
I started a thread for those like me whose machines video doesnt reinit after wake from sleep:

http://forum.insanelymac.com/index.php?showtopic=44283
fabioxx
QUOTE(Kiko @ Mar 5 2007, 12:44 PM) *
Will do more work on this tommorow as its a day off from college. I have some interesting things to test smile.gif. and fabioxx use the installer made by paulicat


thank you, i will try asap!
bye rolleyes.gif
Eskurza
oh it is working perfectly..

the fans kick in when the temp. reaches 49 or so..
temperature usually around 45

Depending on the load, the cpu speed modifies 1.33Ghz, 1.67Ghz, 2.0Ghz..with the dynamic setting.

no go on the sleep though.


Click to view attachment
cyclonefr
speedstep.pkg gives me freeze at startup no GUI. Any new link?
munky
Eskurza: what is your problem with sleep? Does the display not come back on wake? We're discussing that particular issue here: http://forum.insanelymac.com/index.php?showtopic=44283 if you're interested smile.gif
Eskurza
QUOTE(munky @ Mar 5 2007, 12:52 PM) *
Eskurza: what is your problem with sleep? Does the display not come back on wake? We're discussing that particular issue here: http://forum.insanelymac.com/index.php?showtopic=44283 if you're interested smile.gif


Exactly the same problem. I have been following that thread as well. I have network access to the drives upon wake.. no screen though
Kiko
For those who are currently testing, try this kext (just unzip, repair permissions and kextload, or put it to startupitems and repair its permissions then reboot)
(this has throttling enabled using ACPI, not for brain dead bios's)

please post a dmesg after its loaded, and a sysctl -a | grep freq
Eskurza
QUOTE(Kiko @ Mar 5 2007, 06:41 PM) *
For those who are currently testing, try this kext (just unzip, repair permissions and kextload, or put it to startupitems and repair its permissions then reboot)
(this has throttling enabled using ACPI, not for brain dead bios's)

please post a dmesg after its loaded, and a sysctl -a | grep freq


I can not get this kext to load.
Kiko
Have you repaired its permissions?

chmod -R 755 <kext>
chown -R root:wheel <kext>
kextload <kext>

If it works with the older kext, no need for this
Eskurza
QUOTE(Kiko @ Mar 5 2007, 08:14 PM) *
Have you repaired its permissions?

chmod -R 755 <kext>
chown -R root:wheel <kext>
kextload <kext>

If it works with the older kext, no need for this


yeah i repaired the permissions. The first kext was working. this one giving me the error:

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

I tried multiple times to load the kext as you suggested. didn't help.

Anyways I am happy with the previous pkg. Just testing out the different kexts thumbsup_anim.gif
Kiko
Thats cool, the other one uses Direct Drive to control the speed, this one talks through the ACPI table, not supposed to work with everyone
Thanks for testing smile.gif
joe75
joe-75s-computer-2:~ root# chmod -R 755 ACPICPUThrottle.kext
joe-75s-computer-2:~ root# chown -R root:wheel ACPICPUThrottle.kext
joe-75s-computer-2:~ root# kextload ACPICPUThrottle.kext
kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod
kextload: a link/load error occured for kernel extension ACPICPUThrottle.kext
load failed for extension ACPICPUThrottle.kext
(run kextload with -t for diagnostic output)
joe-75s-computer-2:~ root# kextload -t ACPICPUThrottle.kext
kextload: extension ACPICPUThrottle.kext appears to be valid
kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod
kextload: a link/load error occured for kernel extension ACPICPUThrottle.kext
load failed for extension ACPICPUThrottle.kext
(run kextload with -t for diagnostic output)
Kiko
you using paulicats kernel? Try this kext


Heres a updated Direct Drive Kext
Eskurza
QUOTE(Kiko @ Mar 5 2007, 11:39 PM) *
you using paulicats kernel? Try this kext
Heres a updated Direct Drive Kext


yup loaded successfully

kern.exec: unknown type returned
hw.busfrequency = 532000000
hw.cpufrequency = 1067000000
hw.tbfrequency = 1000000000
kern.cputhrottle_curfreq: 1067
kern.cputhrottle_freqs: 1067 1333 1600
kern.cpu_currentfreq: 1333
kern.cpu_minfreq: 1000
kern.cpu_maxfreq: 2000
hw.busfrequency: 532000000
hw.busfrequency_min: 532000000
hw.busfrequency_max: 532000000
hw.cpufrequency: 1067000000
hw.cpufrequency_min: 1067000000
hw.cpufrequency_max: 1600000000
hw.tbfrequency: 1000000000

CODE

Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: dec_clock_rate_hz=15706717573093181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_num=15706717572625181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_den=15706717572093181953
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_num=15706717572093181957
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_den=15706717572093181954
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_num=15706717572093181953
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_den=15706717572093181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_hz=15706717573093181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_num=15706717572093181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_den=15706717572093181952
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_frequency_hz=532000000
Mar 5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle: cpu_frequency_hz=1333000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 2
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: gPEClockFrequencyInfo after fixup:
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_hz=793826127108222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: cpu_clock_rate_hz=793826127909222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: dec_clock_rate_hz=793826127576222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_num=793826127108222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_den=793826126576222209
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_num=793826126576222213
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_den=793826126576222210
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_num=793826126576222209
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_den=793826126576222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_hz=793826127576222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_num=793826126576222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_den=793826126576222208
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_frequency_hz=532000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: cpu_frequency_hz=1333000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: rtc_cycle_count=80000000, newcount=53350000, cutoff=50000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0x81e, want_status=0x0!
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: rtc_cycle_count=80000000, newcount=53350000, cutoff=50000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: gPEClockFrequencyInfo after fixup:
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_hz=11686971879737109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: cpu_clock_rate_hz=11686971880272109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: dec_clock_rate_hz=11686971880205109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_num=11686971879737109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_clock_rate_den=11686971879205109761
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_num=11686971879205109764
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_cpu_rate_den=11686971879205109762
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_num=11686971879205109761
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_to_dec_rate_den=11686971879205109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_hz=11686971880205109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_num=11686971879205109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: timebase_frequency_den=11686971879205109760
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: bus_frequency_hz=532000000
Mar 5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: cpu_frequency_hz=1067000000




what exactly is updated in this kext?
Kiko
The fsb fix, so it doesnt leave your fsb at 100mhz which is a performance killer.
Eskurza
yup I realized that thumbsup_anim.gif feels good already.

Temperature values around 42-45C,

I will keep testing as they become availble smile.gif
Kiko
Well it seems to be working for you joe75, im trying to find out what failing code is

EDIT:just realised XD, it doesnt matter for you anyway, because one cpu is disabled tongue.gif
joe75
cpus=1 wallbash.gif
Kiko
yeah, that sucks. Looking on a way to fix that though
paulicat
Sorry I've been away folks, but after spending many nights on getting the code into the kernel I had to take a step away from coding and relax for a bit. I havent looked at the code much since I released it, only made a couple small changes (removed the annoying -.- crap from dmesg for which I'll post a kernel build soon.
I've been using mifki based tree on my laptop because I don't need all the emulation stuff for my laptop, also, it doesnt have the annoying kext loading crap in dmesg either. If anyone knows how to get rid of that let me know and I'll make a build with that crap removed.
Keep up the good work on the kext Kiko. Hopefully you can get one that will do coreduo and core2duo together.
Be back soon...

Paulicat
drimzy
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 1
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=66650000, cutoff=50000000
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0xb2c, want_status=0x0!
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 1
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=66650000, cutoff=50000000
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0x81d, want_status=0x0!
Mar 6 17:40:47 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=66650000, cutoff=50000000
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 0
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=91650000, cutoff=50000000
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0x82c, want_status=0x0!
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 0
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=91650000, cutoff=50000000
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0xb2c, want_status=0x0!
Mar 6 17:40:48 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=91650000, cutoff=50000000
Mar 6 17:40:49 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 1
Mar 6 17:40:49 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=66650000, cutoff=50000000
Mar 6 17:40:49 xhost kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0x81d, want_status=0x0!
Mar 6 17:40:49 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=66650000, cutoff=50000000
Mar 6 17:40:50 xhost kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 0
Mar 6 17:40:50 xhost kernel[0]: ACPICPUThrottle: rtc_cycle_count=91650000, newcount=91650000, cutoff=50000000
Mar 6 17:40:50 xhost kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0x82c, want_status=0

infinite loop during osx works..

anyone..same problem?
Eskurza
did you try the kext from post 117?
cyclonefr
yes waiting for a core2duo support! smile.gif
Kiko
CycloneFr, have u tried the latest DirectDrive kext?
ritalin
root# sysctl -a | grep freq
kern.exec: unknown type returned
hw.busfrequency = 1064000000
hw.cpufrequency = 1596000000
hw.tbfrequency = 1000000000
kern.cputhrottle_curfreq: 1596
kern.cputhrottle_freqs: 1596 1862
hw.busfrequency: 1064000000
hw.busfrequency_min: 1064000000
hw.busfrequency_max: 1064000000
hw.cpufrequency: 1596000000
hw.cpufrequency_min: 1596000000
hw.cpufrequency_max: 1862000000
hw.tbfrequency: 1000000000

Thanks for getting this working thumbsup_anim.gif

edit: this is using the updated Direct Drive Kext, tried the kext in release.zip but it wouldn't load :-(
carpao
Kiko...

I have a Core Duo (not core 2 duo)

The following failure message depends on that?

CODE
etc : TTY=ttyp1; PWD=/Library/StartupItems/ACPICPUThrottle; USER=root; COMMAND=/sbin/kextload ACPICPUThrottle.kext/
kernel[0]: ACPICPUThrottle: Adding CPU0
kernel[0]: ---> P0, 1660Mhz, 31000mW, 10us, 10us (ctrl=0xa2c, status=0xa2c)
kernel[0]: ---> P1, 1330Mhz, 22000mW, 10us, 10us (ctrl=0x820, status=0x820)
kernel[0]: ---> P2, 1000Mhz, 13000mW, 10us, 10us (ctrl=0x613, status=0x613)
kernel[0]: ---> P3, 65535Mhz, 4294967295mW, 255us, 255us (ctrl=0xffff, status=0xffff)
kernel[0]: ACPICPUThrottle: Using direct drive of Intel throttling
kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0xa2c, want_status=0x0!
kernel[0]: ACPICPUThrottle: Adding CPU1
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!


PS I have both cores enabled...
casamac
what i can do to get the speedstepping to work in my centrino cpu with 10.4.8?
Kiko
if you have sse2, you have to wait. And Carpao, i'll put a kext for core duo users up tonight, i think i know why it is failing. In the meantime, try the directdrive kext (unless your using that already)
paulicat
For the record folks, I've already had confirmed coreduos working perfectly (thinkpad A60) with the throttle kext that is included in my installation package.
My packages kext does not support core2duo's however.

Paulicat
Kiko
Or use paulicats if you have a core duo, link on page 3
naldo
So do any of these fix sleep. I'm not really too worried about speedstep, but sleep would be a godsend.


I have a T7200 if it matters (Core 2 Duo, 2ghz)
offall
QUOTE(Kiko @ Mar 5 2007, 11:39 PM) *
you using paulicats kernel? Try this kext
Heres a updated Direct Drive Kext



Hi, Kiko
Your new updated direct drive kext works well, but it still doesn't recognize more "steps" of cpu freq except the min and Max
I remember you mentioned it can be manuelly add the state with FID VID combination into kext
How can I do that?


Here is my log for sysctl -a | grep freq

kern.exec: unknown type returned
hw.busfrequency = 800000000
hw.cpufrequency = 2400000000
hw.tbfrequency = 1000000000
kern.cputhrottle_curfreq: 2400
kern.cputhrottle_freqs: 2400 3400
hw.busfrequency: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency_max: 800000000
hw.cpufrequency: 2400000000
hw.cpufrequency_min: 2400000000
hw.cpufrequency_max: 3400000000
hw.tbfrequency: 1000000000



Here is the dmesg
Kiko
offall. i was looking at a older kext, but i could compile it if i found the data sheet for your cpu.
carterj
QUOTE(Kiko @ Mar 7 2007, 12:32 AM) *
if you have sse2, you have to wait.


how much longer? sad.gif

tomato.gif
drimzy
how to disable ACPICPUTrottle?

only remove a kext?
offall
QUOTE(Kiko @ Mar 7 2007, 04:25 AM) *
offall. i was looking at a older kext, but i could compile it if i found the data sheet for your cpu.


Hi, Kiko, Thanks a lot for offering
here is the spec of my CPU
tell me what else you need

Here is I found on rightmark cpu clock utility (I guess this is what you need)

Supported PM Features: EIST TM1 ODCM C1E
FID: startup 17.0x
FID: min 12x max 170
Reg.Vcore start up 1.288v
VID: min 1.225v max 1.288v
FID/VID combination: 12x 1.225v; 13x 1.237v; 14x 1.250v; 15x 1.263v; 16x 1.275v; 17x 1.288v



And following are the specs I found on CPUZ
Code name: Presler Technology 65nm Voltage 1.292 v
Specification: Intel® Pentium® D CPU 3.40GHZ
Cores: 2
Family F Model 6 Stepping 4
Revision C1
INstruction: MMX SSE SSE2 SSE3 EM64T
Bus Speed 199.5Mhzz
Rated FSB 798 MHZ
L1 Data 2x16k
L1 Trace 2x12 kuops


additional info I found on wikipedia
Model Number PentiumD 945
sSpec Number SL9QQ (D0)
Frequency 3400 MHz
L2-Cache 2 × 2048 KiB
Front Side Bus 800 MT/s
Mult 17x max
Voltage 1.2/1.337 V
TDP 95 W
Socket LGA 775


Let me know what else do you need, thanks again
carpao
QUOTE(Kiko @ Mar 7 2007, 06:04 AM) *
Or use paulicats if you have a core duo, link on page 3


I think that I tried with both...
the kernel is the same right?
and about the /Library/StartupItems
in one case there is a ACPICPUThrottle
in the other case there is ACPICPUThrottler

right?
Eskurza
oh kiko, also every once in a a while the kext fails to load at the startup,

reboot fixes the situation.
Eskurza
QUOTE(drimzy @ Mar 7 2007, 10:22 AM) *
how to disable ACPICPUTrottle?

only remove a kext?


yeah just delete the kext (or the folder) from the startup items..

/Library/StarupItems to be exact
carpao
QUOTE(carpao @ Mar 6 2007, 11:25 PM) *
Kiko...

I have a Core Duo (not core 2 duo)

The following failure message depends on that?

CODE
etc : TTY=ttyp1; PWD=/Library/StartupItems/ACPICPUThrottle; USER=root; COMMAND=/sbin/kextload ACPICPUThrottle.kext/
kernel[0]: ACPICPUThrottle: Adding CPU0
kernel[0]: ---> P0, 1660Mhz, 31000mW, 10us, 10us (ctrl=0xa2c, status=0xa2c)
kernel[0]: ---> P1, 1330Mhz, 22000mW, 10us, 10us (ctrl=0x820, status=0x820)
kernel[0]: ---> P2, 1000Mhz, 13000mW, 10us, 10us (ctrl=0x613, status=0x613)
kernel[0]: ---> P3, 65535Mhz, 4294967295mW, 255us, 255us (ctrl=0xffff, status=0xffff)
kernel[0]: ACPICPUThrottle: Using direct drive of Intel throttling
kernel[0]: ACPICPUThrottle: Throttle failed with cur_status=0xa2c, want_status=0x0!
kernel[0]: ACPICPUThrottle: Adding CPU1
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!


PS I have both cores enabled...


uhm...
I don't know what changed because I'm pretty sure that I tried both beofre...
however Now I have the following status
CODE
Mar  7 17:52:26 kernel[0]: ACPI CPU Throttle loaded
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Adding CPU0
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: type=82, datalen=12, _ASI=7f, _RBW=0, _RBO=0, _ADR=0
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: ACPI returns no ACPI throttling available
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: type=82, datalen=12, _ASI=7f, _RBW=0, _RBO=0, _ADR=0
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: ACPI returns no ACPI throttling available
Mar  7 17:52:26  kernel[0]: ---> P0, 1660Mhz, 31000mW, 10us, 10us (ctrl=0xa2c, status=0xa2c)
Mar  7 17:52:26  kernel[0]: ---> P1, 1330Mhz, 22000mW, 10us, 10us (ctrl=0x820, status=0x820)
Mar  7 17:52:26  kernel[0]: ---> P2, 1000Mhz disabled
Mar  7 17:52:26  kernel[0]: ---> P3, 65535Mhz, 4294967295mW, 255us, 255us (ctrl=0xffff, status=0xffff)
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Intel processor detected, family=6, model=e
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Using direct drive of Intel throttling
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 1
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: rtc_cycle_count=83000000, newcount=66500000, cutoff=50000000
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0x820, want_status=0x0!
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: rtc_cycle_count=83000000, newcount=66500000, cutoff=50000000
Mar  7 17:52:26  kernel[0]: ACPICPUThrottle: Adding CPU1
Mar  7 17:52:26   kernel[0]: ACPICPUThrottle: Failed with code -536870212


I started the Application CPUThrottle, and it presents the three possible values (including the P3 wrong one). I set the minimum to P1 value and maximum to P0 value and it seems (from its status taht effectively it is working...)

in the console are presents many messages (some time of Filed switch, sometimes of succeeded switch).

the bus speed results set to 100Mhz :-(

Finally I have the impression that if the Application CPUThrottle2 is not executed the freq is fixed (from teh sysctl output)

So I have many doubts

what means that CPU1 fails? (I have both core enabled!)
in the console the messages refers always inly to CPU0 about trhottling...
Kiko
you can fix ur bus speed by getting the last kext i posted, called Direct Drive, and im still trying to find out why it only throttles one cpu.
ppan76
QUOTE(Kiko @ Mar 7 2007, 11:17 PM) *
you can fix ur bus speed by getting the last kext i posted, called Direct Drive, and im still trying to find out why it only throttles one cpu.


Where is the new version? I made search for Direct Drive and went to your profile and didn't find anything.

BTW, if the picture in your profile is you--use Photoshop to erase the little mold you have in the thigh. Use the STAMP tool, very useful.
Kiko
Oh, so im not good enough for you am i? tongue.gif
heres the link
http://forum.insanelymac.com/index.php?s=&...st&p=317480
carpao
BE CAREFULL I'M LOOKING FOR MAKE IT DETERMINISTIC... BECAUSE IT IS NOT CLEAR....


QUOTE(Kiko @ Mar 8 2007, 01:17 AM) *
you can fix ur bus speed by getting the last kext i posted, called Direct Drive, and im still trying to find out why it only throttles one cpu.


I'll try it....

but meanwhile I have a (partial) good news for the sleep...
I have a M400

with paulicat kernel... I thought to have the common problem of not wake up of the system...
but actually I noted that after the wake up I have a black screen with first the cursor and then the coloured wheel (not spinning)...

it was possible for me:
- move the cursor,
- connect remotely by ssh

but the screen stays black...

One time I leave the machine untouched and after more or less one minute I saw the form for the password and immediately the machine returned in sleep mode without possible interaction...

I wake it again and tried to blindly enter the password...
nothing happened,

BUT again after more or less one minute, again I see the password form and this time it didn't disappear and the value was inserted...
All I had to do was to press the OK button and I had my machine ready to work.

I repeat this several time (so that now I'm able to have my machine woke up in just a minute) It is not perfect... but it is just something.

At this point I have one question...
This is the "soft" sleep... I know that there exists also the availability of a "hard" sleep (or hibernation...).
In the past I deleted a file from /private/var/tmp that was named something like sleep.image because I didn't want to waste 2 GB of disk for something that I cannot use...
So the question is... is it possible to have hibernation too? what are the steps?
munky
I started a discussion thread for the no wake from sleep problem: http://forum.insanelymac.com/index.php?showtopic=44283

I will outline my findings there. Sounds like you may be on to something...

As for hibernate, this is something i've been wondering too...

http://andrewescobar.com/archive/2005/11/1...sleep-your-mac/

If you search that page for the word 'hackintosh' you see someone reporting it working on his hack. smile.gif might try this myself wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.