I'm trying to setup hibernate on my new rig, and I've gotten tuxonice working a few times, but then I had a failed hibernate, and sense then, I can't resume from a hibernate. TuxOnIce has the loading bar, and the text interface, and successfully brings the computer into hibernate. However when resuming from hibernate, the screen stays black, then displays random pixels everywhere, and hangs. I'm running it from command line with sudo pm-hibernate. I've tried setting resume=/dev/sda3 in /etc/default/grub followed by sudo update-grub, but it didn't make a difference.
What am I doing wrong, or how can I successfully hibernate with a near 100% success rate?
UPDATE 1
I just looked at /etc/log/pm-suspend.log and here are the last two lines of the log file:
/usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/9
From my limited knowledge, it looks to me like some sort of hand error in sleep.d. Is this the cause, and if so, what can I do to fix it?