Jump to content

SpeedStepper (now supports Mountain Lion 10.8.3)


  • Please log in to reply
573 replies to this topic

#401
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
@rcork,

The 32 bit offsets how can I view that in assembly? What section can I find it in the machoview?

I asked oldnapalm in one of my posts up.

The Bios flash is the best alternative but its not available for all motherboards and not one laptop. I have the Asus G74SX gamers laptop.

Thanks

#402
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts

@rcork, The 32 bit offsets how can I view that in assembly? What section can I find it in the machoview? I asked oldnapalm in one of my posts up. The Bios flash is the best alternative but its not available for all motherboards and not one laptop. I have the Asus G74SX gamers laptop. Thanks


In Machoview the 32 bit binary is under Object(X86)/Section(__TEXT,__text). However, it does not show the assembly code, just the pure binary. The easiest way to see the assembly is to extract with otool (otool -vt -arch i386 AICPM/Contents/MacOS/AICPM > i386.asm) and then search the code with a text editor. Once you find the addresses, go back to Machoview and click on RVA and find the corresponding addresses.

I can confirm that the modified bios did allow me to load the vanilla kext without any patches. However, the bios from the repository is a newer version and there were significant changes by ASUS for that version so i need to modify my DSDT to reflect the new bios. Until then, i'm only getting 2 p-states.

#403
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
@rcork,

Thanks. I think its great that we can just flash a modified bios but what concerns me is what if I want to run windows 7 or linux natively how will it run with the modified Bios? If it could be a problem I rather stick to either patching with the newest perl script then verify it against one I either manually did or from someone else's.

Its sounds like a great thing to do it the Bios way but how long does it take to patch the AICPUPM now that you guys have figured it all out.

#404
slave-zeo

slave-zeo

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 124 posts
  • Gender:Male
  • Location:Evansville, Indiana

Use ICPUM .kext from 10.7.3 first... try it


Actually I got it working with the 10.8 ICPUM .kext. All I needed to use was the patched ICPUM.kext posted earlier in this topic and the

iMac12_2.plist from the topic about my motherboard -

www.insanelymac.com/forum/index.php?showtopic=270390 . I only get the Min (16) and Max (45) speeds but that's all I got in 10.7.3.

I get a little over 15k in geekbench which is about 600 more than I got in 10.7.3. I'm pretty happy.

#405
jazzyguy

jazzyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male
  • Location:USA
Can anyone provide pointers on how here: http://www.insanelym...c=253642&st=820 the BIOS was modded?

#406
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

In Machoview the 32 bit binary is under Object(X86)/Section(__TEXT,__text). However, it does not show the assembly code, just the pure binary. The easiest way to see the assembly is to extract with otool (otool -vt -arch i386 AICPM/Contents/MacOS/AICPM > i386.asm) and then search the code with a text editor. Once you find the addresses, go back to Machoview and click on RVA and find the corresponding addresses.

I can confirm that the modified bios did allow me to load the vanilla kext without any patches. However, the bios from the repository is a newer version and there were significant changes by ASUS for that version so i need to modify my DSDT to reflect the new bios. Until then, i'm only getting 2 p-states.


That worked fine but is there any switch other than -vt I can use to show the data column 0F30 90 etc. I tried the data option did not seem to work

Thanks

#407
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro
Anyone had success with SpeedStep? The four cores of my processor are known with this patch, but the value obtained in SpeedStep is only the lowest 16, my GeekBench in Mountain Lion is 4800, in Lion is 9900...

#408
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts

Anyone had success with SpeedStep? The four cores of my processor are known with this patch, but the value obtained in SpeedStep is only the lowest 16, my GeekBench in Mountain Lion is 4800, in Lion is 9900...


What do you mean by "the value obtained in Speedstep..."? Are you using MSRDumper? This patch just stops the kernel panics. It still relies on your system to have the proper DSDT to enable P-states. Are you using a DSDT and/or SSDT? If so, can you post it.

#409
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

What do you mean by "the value obtained in Speedstep..."? Are you using MSRDumper? This patch just stops the kernel panics. It still relies on your system to have the proper DSDT to enable P-states. Are you using a DSDT and/or SSDT? If so, can you post it.


Yes, I'm using MSRDumper, with DSDT / SSDT and the data from iMac 12.2 plist copied to the MacPro 3.1 plist... this is the same setup that I use in Lion where I get the steps 16/20/22/26/30/33/34/35/36 and sometimes 37... but in Mountai Lion I can't get these values... Mountain Lion reaches only the first step that is 16...

#410
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts
That's interesting. Maybe they changed the stepper program in ML. I don't have an instance of ML running on my hack (just an VM) but i'll see if i can get a copy installed and check what p-states i get.

Any particular reason for why you're running as MacPro3,1 and not iMac12,2. I use iMac12,2 and it works great.

#411
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

That's interesting. Maybe they changed the stepper program in ML. I don't have an instance of ML running on my hack (just an VM) but i'll see if i can get a copy installed and check what p-states i get.

Any particular reason for why you're running as MacPro3,1 and not iMac12,2. I use iMac12,2 and it works great.


No... no particular reason... just cosmetic because I'm not using a Notebook... as I said I took the data from an iMac 12.2 plist and copied to the MacPro 3.1 plist... it works 100% in Lion... but not in Mountain Lion... I'm feeling this a little bit strange because I can't see nobody here saying that the SpeedStep is not working on Mountain Lion...

#412
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts
You don't need a notebook to use iMac profile. I'm not sure it's purely cosmetic. There are certain programs that have different functionality based on what system profile is used (iStat Menus is one of them). I'm not sure that other things work differently based on system profile. Can you change your smbios to use iMac12,2 and see if you get different results?

#413
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

You don't need a notebook to use iMac profile. I'm not sure it's purely cosmetic. There are certain programs that have different functionality based on what system profile is used (iStat Menus is one of them). I'm not sure that other things work differently based on system profile. Can you change your smbios to use iMac12,2 and see if you get different results?


Well, I can try this... later at home... I'm on my job now... let´s see if it works... oh, I forgot to say tha in Lion, I do't need to patch the AppleIntelCPUPowerManagement.kext to have SpeedStep... and I don't need the NullCpu too... it works 100% without any patch or extra kext... but in Mountain Lion even patching the AppleIntelCPU I can´t get the p-states

#414
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts

Well, I can try this... later at home... I'm on my job now... let´s see if it works... oh, I forgot to say tha in Lion, I do't need to patch the AppleIntelCPUPowerManagement.kext to have SpeedStep... and I don't need the NullCpu too... it works 100% without any patch or extra kext... but in Mountain Lion even patching the AppleIntelCPU I can´t get the p-states

Well if you don't need to patch AICPM in Lion, you shouldn't need to in ML. The patch doesn't enable speedstep, it just prevents a kernel panic on ASUS boards that have MSR 0xE2 locked as read only. If you can boot Lion with patching, then you don't have a readonly MSR and you don't need to run the speedstepper patch.

#415
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

Well if you don't need to patch AICPM in Lion, you shouldn't need to in ML. The patch doesn't enable speedstep, it just prevents a kernel panic on ASUS boards that have MSR 0xE2 locked as read only. If you can boot Lion with patching, then you don't have a readonly MSR and you don't need to run the speedstepper patch.


But if I don´t patch the AICPM in ML I get errors on boot... something like Processor error Step 2... something like that...

#416
rcork

rcork

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts
Again, this patch is only supposed to prevent kernel panics and only on ASUS boards. Looks like you're running a Gigabyte board. I think the error you are seeing is not related to what this patch is supposed to fix. I would try restoring the original kext and changing your smbios to use iMac12,2 and see if you still get the error. If you want to PM me with your DSDT/SSDT i'd be happy to take a look. I used to run a Gigabyte hack and it may just be that you're missing key pieces of the PR scope in your DSDT.

#417
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

Again, this patch is only supposed to prevent kernel panics and only on ASUS boards. Looks like you're running a Gigabyte board. I think the error you are seeing is not related to what this patch is supposed to fix. I would try restoring the original kext and changing your smbios to use iMac12,2 and see if you still get the error. If you want to PM me with your DSDT/SSDT i'd be happy to take a look. I used to run a Gigabyte hack and it may just be that you're missing key pieces of the PR scope in your DSDT.


Ok, rcork!!! Thank you!
Later, at home, I will try to do what you are saying... if it not works I send to you my DSDT/SSDT... thanks for all your help!!!

#418
jazzyguy

jazzyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male
  • Location:USA
I have a core i3 2310m and with the MBP 8,1 SMBIOS I have reached 6 Pstates.

Not sure how many are typical for me.

#419
prcmelo

prcmelo

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Rio de Janeiro

Again, this patch is only supposed to prevent kernel panics and only on ASUS boards. Looks like you're running a Gigabyte board. I think the error you are seeing is not related to what this patch is supposed to fix. I would try restoring the original kext and changing your smbios to use iMac12,2 and see if you still get the error. If you want to PM me with your DSDT/SSDT i'd be happy to take a look. I used to run a Gigabyte hack and it may just be that you're missing key pieces of the PR scope in your DSDT.


I took a patched AICPM and a iMac12.2 plist and got 5 p-states, the 16(first) and 34/35/36/37 (turbo ratios) different from Lion where I have 9 p-states, my Geekbench went up to 9800/9900. But I saw that I have errors in IOUSBDevice (attached image) and sometimes when I restart, the sistem begins to restarts and just before the Chameleon screen it restarts itself again and then start normally. I'm sending you my DSDT and SSDT, if you can take a look ...
If I do not use a patched AICPM I do not have the p-states and my USB keyboard and mouse do not work ...
The other image is attached on my CPU ... I think it's alright, right?

http://imageshack.us...4022012461.jpg/

http://imageshack.us.../850/cpuyi.jpg/

DSDT and SSDT - http://d.pr/CY8Q

#420
androdev

androdev

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
How can I have otool installed? Please help me. I think it's a part of developer tools. I have Xcode installed.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy