Hey there i had some freeze issues and wake from sleep troubles. Both were made by my Ram, as i Replaced the defect Module it works flawlessly.
I was running into the same issue on my rev.2 board (i don't recall the rev1 board giving me the same problem, but since I had cloned that os from an already set-up macbook pro with the below settings already enabled, I must have bypassed this particular problem).
Did a search everywhere for how to solve, but it kept requiring a bios reset to overcome the problem and be able to boot the hack. I figured it must be the way the mac puts the os to sleep, and more importantly the sleep image creation process.
Disabling this process cures the problem! If you suffer a power cut whilst the machine is asleep, there is no recovery, but I can live with that; it will just boot again to desktop without resetting apps. Though, having said that, maybe ML and above's ability to cope with such instances and auto save may well cope with this too.
Anyway, here's what cured the problem.
In terminal, find your hibernate mode by c/p the below;
pmset -g | grep hibernatemode
You should return '3'
Here are the modes;
0: Suspend to RAM. RAM remains powered on while sleeping, safe sleep is disabled, wake is instant.
1: Suspend to disc, a.k.a safe sleep. RAM contents is written to disk, computer shuts down completely. Slower to wake up.
3: RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping.
5: Same as mode 1, but for using secure virtual memory.
7: Same as mode 3, but for using secure virtual memory.
We want '0', so enter the below in terminal
sudo pmset -a hibernatemode 0
And enter your password. If this is the first time you have ever entered a sudo command, you'll think it's broken when you enter your password as you don't see anything appear - don't worry, it's not broken, this is a security feature. Just enter your password and hit return, and you are good.
If you want to remove the now-redundant sleep image and get those precious gigs of SSD goodness back, enter the below;
sudo rm /var/vm/sleepimage
And that's it. Kiss goodbye the wake-from-sleep issues (unless your problem is down to something else that is, in which case "good luck!"
)
Cheers
Schmo
[Edit; out of curiosity, I put the hack to sleep, waited the 10 secs or so for it all to settle down, and then yanked the power supply. Waited a further few mins before putting the power cord back in to simulate a brief outage, at which time the machine rebooted (bios was set to reboot after cut). Apps mounted exactly as I had left them. So, not a bad result.]