Jump to content
4696 posts in this topic

Recommended Posts

My SL install/drive was still in sleep mode when I got home just put it out of sleep prior to posting this. I used the sleep option from the apple menu.

 

This is driving me crazy! My machine wakes from sleep fairly randomly every few hours.

Anybody have any tips on what to look for in th elogs to try and find what is causing the machine to wake?

Cheers

Jon

This is driving me crazy! My machine wakes from sleep fairly randomly every few hours.

Anybody have any tips on what to look for in th elogs to try and find what is causing the machine to wake?

Cheers

Jon

 

did you try without network cable connected !?

did you try without network cable connected !?

 

touch wood i seem to have fixed it, switched hpet mode to 64bit and disabled PME event wakeup in the bios.

I'll try re-enabling wake on lan in lion and see if it still works.

Cheers

Jon

- graphics : my GTX280 is recognized perfectly with standard install, but I can't get openCL to work. Some animations are a bit sloppy, and benchmark behaviour is rather slow. CI/QE does work. Tried injecting as before but it does not make a difference. Still have to try netkas' openCL fix but it seems it only works with fermi cards. If anyone knows some other tricks to improve things here I'd be most thankful.

 

OK, I seem to get at this : problem is AppleGraphicsPowerManagement.kext, causing the GPU to stay on low clocks all of the time. I removed the next and everything started to fly... 38fps instead of 15 in Cinebench Open GL, and open CL works again as well.

 

Question is whether disabling the AGPM causes harm to the GPU, maybe it can be altered to include better Power Management for the GTX280, I'll have to look into that.

OK, I seem to get at this : problem is AppleGraphicsPowerManagement.kext, causing the GPU to stay on low clocks all of the time. I removed the next and everything started to fly... 38fps instead of 15 in Cinebench Open GL, and open CL works again as well.

 

Question is whether disabling the AGPM causes harm to the GPU, maybe it can be altered to include better Power Management for the GTX280, I'll have to look into that.

 

 

you can try editing the AppleGraphicsPowerManagement info .plist to add you deviceid. see here

 

you can also set the fan sped to auto to ensure the card runs cooler see

here

 

cheers

Jon

Hi, once again, many thanks to all who contributed to get lion running on our mobos!

 

Everything works fine here, including wake from sleep with bluetooth keyboard (i use the original apple bluetooth module with an DCDC Converter to lower the voltage of the usb-port from 5V to 3.3V, if you wanna try this, look at this nice guide from Swahy).

 

:) But there is still one issue: I can't get rid of the CMOS resets after boot / reboot when the hackpro has been in sleep mode before. I tried the old 10.6 AppleRTC.kext and the Lion AppleRTC.kext with this Patch:

sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

But still CMOS Resets after sleeping.

 

Can anyone who has no CMOS resets after waking from sleep post his AppleRTC.kext or can point me to a possible solution?

 

Cheers from Berlin, Ger.

 

Phil

Hi Phil,

 

just to be sure: have you installed the old 10.6. AppleRTC in S/L/E or in Extra? I installed it with D_D's script in /extra first... You have to put it in SLE then it works.

 

I attached my 10.6. AppleRTC.kext - maybe that helps.

 

If not, maybe you have other kexts/DSDT patches applied which interfere with your RTC patch?

 

Greets from Karlsruhe, Ger ;)

AppleRTC.kext.zip

you can try editing the AppleGraphicsPowerManagement info .plist to add you deviceid. see here

 

you can also set the fan sped to auto to ensure the card runs cooler see

here

 

cheers

Jon

 

Thanks for the links. I did exactly that : edit the AGPM next with my model number and it worked immediately, still it is only half a solution since memory and shaders always stay at high clocks. But it works, just as using Mac Pro 3.1 instead of 4.1 also works the same way. Setting the fan to auto also works as described, however it isn't really worth it - imho - since the auto fan settings turns up the fan noise considerably without the card really running much cooler. It's very well possible though that the temperature readouts from the nvclock utility are wrong, and the card is running a lot warmer in reality (explaining the high fan speeds on auto), but I'd really have to test that using windows, except there's no win install any more to boot from :)

 

Edit : I would like to edit the AGPM next further to fine-tune the throttling go the card, but I haven't really found any examples how to do it, and I'd rather not start changing it blindly without knowing what I'm doing or changing.

Hi Phil,

 

just to be sure: have you installed the old 10.6. AppleRTC in S/L/E or in Extra? I installed it with D_D's script in /extra first... You have to put it in SLE then it works.

 

I attached my 10.6. AppleRTC.kext - maybe that helps.

 

If not, maybe you have other kexts/DSDT patches applied which interfere with your RTC patch?

 

Greets from Karlsruhe, Ger :(

 

Hi VirusX,

your 10.6 AppleRTC.kext ind S/L/E worked for me. Many thanks! And I must commit, that prior to the test with your next, i had the AppleRTC in my Extra folder... ;)

 

Thanks for the hint & kext.

 

Gruß, Phil

Lion 10.7.1 is out, any news?

 

I haven't tried installing it yet. I'll leave that to the braver among us. Here's a list of the kexts that are in the package. I see that there is a new AppleHDA kext. Could potentially affect audio support.

 

S8VaC.png

I haven't tried installing it yet. I'll leave that to the braver among us. Here's a list of the kexts that are in the package. I see that there is a new AppleHDA kext. Could potentially affect audio support.

 

DON'T UPDATE!

I just did it. (I've got 2 others macbook so I could risk it)

 

I've got following exception:

SleepEnabler: Registering PowerManagement dispatch table with PM_DISPATCH_VERSION 17

SleepEnabler: to disable (id the kernel panics), please specify the boot argument pmVersion=0

 

and also... mis-match between Kernel and CPU PM ../Source/..../pmCPU.c

 

OK I'll try to repair that using DD script

DON'T UPDATE!

I just did it. (I've got 2 others macbook so I could risk it)

 

I've got following exception:

SleepEnabler: Registering PowerManagement dispatch table with PM_DISPATCH_VERSION 17

SleepEnabler: to disable (id the kernel panics), please specify the boot argument pmVersion=0

 

and also... mis-match between Kernel and CPU PM ../Source/..../pmCPU.c

 

OK I'll try to repair that using DD script

 

from what I understand this is because the new kernel in this update breaks sleep enabler.kext, you'll need a new version or at least change the pmversion. Likewise the new appeHDA could cause problems if you use patched or custom enabling kexts.

Those of us who use DSDT mods to get sleep and sound should be ok.

I'll try and report back after backing up, and working out how to get the installer to run (currently won't allow me to pint at my lion disk, looking at the pre run scripts now).

will be interesting to see if the new ATI/Nvidia drivers perform better.

 

Cheers

Jon

from what I understand this is because the new kernel in this update breaks sleep enabler.kext, you'll need a new version or at least change the pmversion. Likewise the new appeHDA could cause problems if you use patched or custom enabling kexts.

Those of us who use DSDT mods to get sleep and sound should be ok.

I'll try and report back after backing up, and working out how to get the installer to run (currently won't allow me to pint at my lion disk, looking at the pre run scripts now).

Cheers

Jon

 

ok thank I will change the pmversion. I don't understand why 17 (perhaps a art of default value) It's an old value

pmVersion=0 (Disable SleepEnabler)

pmVersion=17 (10.6.0/1)

pmVersion=18 (10.6.2)

pmVersion=19 (10.6.3)

 

I'll try with 22 (21 was Lion 10.7.0)

ok thank I will change the pmversion. I don't understand why 17 (perhaps a art of default value) It's an old value

pmVersion=0 (Disable SleepEnabler)

pmVersion=17 (10.6.0/1)

pmVersion=18 (10.6.2)

pmVersion=19 (10.6.3)

 

I'll try with 22 (21 was Lion 10.7.0)

 

{censored} it didn't work

What I did: I changed the value in com.apple.Boot.plist to this:

<key>pmVersion</key>

<string>23</string>

or to this

<key>pmVersion</key>

<string>0</string>

 

without effect (same exception is coming)

 

So I deleted the sleepenabler and rebuild the caches (only deleting the kext doesn't work) using option 3 of DD's script.

Now It works.

 

And the sound (via SPDIF) and video are now very good : It was the purpose of this update!!

I just updated my clean 10.7 spare build to 10.7.1 first time no issues for me

(I'm only running Fakesmc and dsdt)

 

everything seems to work. I'm not upgrading my main SL account yet as I'm not sure how 10.7 is going to pan out in future wrt to this CMOS restart bug

10.7 working with AppleRTC.kext placed in system cache .... no more reset

However patched AppleRTC not working when using a RAID system CMOS reset each time I reboot

 

SleepEnabler not working even with pmversion 23 ...KP

 

It might be really nice if the new hackinstaller can be updated to recognize org.chameleoninstead of com.apple.boot

each time I have to change it to update BOOT CACHE ...

 

Cheers

{censored} it didn't work

What I did: I changed the value in com.apple.Boot.plist to this:

<key>pmVersion</key>

<string>23</string>

or to this

<key>pmVersion</key>

<string>0</string>

 

without effect (same exception is coming)

 

So I deleted the sleepenabler and rebuild the caches (only deleting the kext doesn't work) using option 3 of DD's script.

Now It works.

 

And the sound (via SPDIF) and video are now very good : It was the purpose of this update!!

 

Glad you got it working. As I don't use sleep enabler i'm not sure, but in addition to changing the pm version, the kext itself might also need updating.

Anyway, my system which uses DSDT for sound and sleep, I've upgraded successfully. The reason the installer wouldn't run is it checks for at least build 11a502. I just edited my SystemVersion.plist. some oddity to do with using DP installs for me i think.

After the install everything seems to work, graphics performance is at least as high as i've ever had.

Cheers

Jon

 

 

I just updated my clean 10.7 spare build to 10.7.1 first time no issues for me

(I'm only running Fakesmc and dsdt)

 

everything seems to work. I'm not upgrading my main SL account yet as I'm not sure how 10.7 is going to pan out in future wrt to this CMOS restart bug

 

Hi,

What in particular that concerns you re cmos reset bug? I've moved my main account to lion now the patch for apple rtc fixes this. is is that you want to avoid any patches, or is it something more serious?

Jon

Yes, just don't like having patches. I'm happy with SL for my main install so I'm probably going going to stick with it a bit longer (I have 2 other disks with lion on it to play, one a clean install on SSD and the other an upgrade of a SL account so I know I can upgrade when I want to). Plus I find the lion mouse movements and the way Safari bounces when scrolling annoying ;-)

Before I forget... made a bootable HD from the script, used it to boot into the Lion installer and restore from time machine. After restore was completed, went to a Terminal to use the Hackinstaller script to reinstall boot loader but it choked since it was trying to run sudo for the script(s) but sudo isn't available on the bootable HD.

 

If the user running is already root would it be possible to not use sudo in the Hackinstaller script? Also not sure what other commands are needed that are missing on the bootable HD so changing to not use sudo if user is already root maybe a moot point.

 

But I suppose I could have exported PATH to the mounted volume of the restored Lion install. So maybe the script can just add to the PATH the mounted Lion install to /Volumes/<HD>/bin and /Volumes/<HD>/sbin ?

Update to 10.7.1 went smoothly on my EX58A-UD3R board. Removed Sleepenabler before installing the update. Updated to 10.7.1, as expected it 'broke' sound. Reinstalled the audio kexts I have been using since about 10.6.6 (taken from Tonymac's site) and also installed the RTC.kext mentioned a few posts above since I was having the cmos reset problem on reboot after the machine did a 'sleep cycle'.

 

After restart, sound was back and surprise, surprise, sleep works without sleepenabler. Video works better (5770 card). Really, this is a painless update. (mainly because DD's script does all the heavy lifting!)

Before I forget... made a bootable HD from the script, used it to boot into the Lion installer and restore from time machine. After restore was completed, went to a Terminal to use the Hackinstaller script to reinstall boot loader but it choked since it was trying to run sudo for the script(s) but sudo isn't available on the bootable HD.

 

If the user running is already root would it be possible to not use sudo in the Hackinstaller script? Also not sure what other commands are needed that are missing on the bootable HD so changing to not use sudo if user is already root maybe a moot point.

 

But I suppose I could have exported PATH to the mounted volume of the restored Lion install. So maybe the script can just add to the PATH the mounted Lion install to /Volumes/<HD>/bin and /Volumes/<HD>/sbin ?

That's certainly a valid issue, as the HackInstaller script is copied over to the boot HD to be used for this purpose. I'm not sure the sudo is the issue, as the script checks to see if the user is root before proceeding. if it is, it just moves along.

However, the other command line utilities are likely missing, so I'll look into getting these copied over, just as you mentioned.

 

 

Update:

Sorry about the delay in the upcoming release. There's just a lot of other issues going on right now.

I would suggest not installing a later RC5 revision as they require the renamed boot plist to work correctly and the current script won't work with it. If you are able to do the proper setups in a renamed boot plist manually without the script, then go for it.

 

MAJ

Update:

Sorry about the delay in the upcoming release. There's just a lot of other issues going on right now.

I would suggest not installing a later RC5 revision as they require the renamed boot plist to work correctly and the current script won't work with it. If you are able to do the proper setups in a renamed boot plist manually without the script, then go for it.

 

MAJ

If you do run a current bootloader and HackInstaller 6.06, be careful installing a new bootloader with the script. If you've removed the com.apple.Boot.plist file to avoid the deprecation warnings during boot, the script will create a new Extra folder - possibly missing some things you really need to boot!

 

When I'm working with the script, I do a:

sudo mv /Extra/org.chameleon.Boot.plist /Extra/com.apple.Boot.plist

to change the name of the file and make the script happy.

When I'm done with the script, I do:

sudo mv /Extra/com.apple.Boot.plist /Extra/org.chameleon.Boot.plist

to make Chameleon happy on the next boot.

 

Cheers.

I think we can create a soft link to the new Boot plist, so the old one always refers to the new one.

ln -s org.chameleon.Boot.plist com.apple.Boot.plist

 

side question, does anyone have a success with Lion/FaceTime, I mean able to login.

I am having the famous "...try again later" error.

EthernetBuiltIn = Yes is used and I am able to login into AppStore

I tried to use EFI string but Lion didn't boot 100%, like Dock and Finder are not visible.

I saw on the other thread about using Chameleon rev 755, I tried but the machine could not load the OS, it rebooted itself after selecting the partition.

 

Any advise for me?

×
×
  • Create New...