Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

solidgoldmini

macrumors regular
Original poster
Hello all! I have a question about Safe Sleep on a 12" Powerbook.
I enabled Safe Sleep on my PB probably a year ago using instructions I found on the internet. For reference it was the following commands:

sudo nvram nvramrc=' " /" select-dev
" msh" encode-string " has-safe-sleep" property
unselect
'
sudo nvram "use-nvramrc?"=true
Then a restart, and then:
sudo pmset -a hibernatemode 3

It worked perfectly for a while, and I hadn't given it much thought. My PB died while sleeping the other day, and I realized Safe Sleep isn't working anymore. I'm not sure what the problem is.
Would upgrading to Leopard when it came out stop it from working anymore? Or would resetting the nvram wipe out the settings? It's running 10.5.6, and I see the sleepimage is still in /var/vm, but when I sleep it I see nothing in the system.log about SafeSleep, and it will just die when removing the power.
I suppose my question is what can I try to troubleshoot this? I was thinking of just running the commands to enable it again and see if that works, but I don't know enough about nvram or Open Firmware in general to do it without someone saying it wouldn't hurt to try again. Would simply resetting the nvram allow me to just start all over? Thank you for any insight you may be able to provide.

Fixed it
Well, after some more research I found the answer. Somewhere along the way, my changes had been wiped out, as evidenced first by using the "nvram -p" command to see that "use-nvramrc?" was now false. I simply started over and reentered the original commands and now my Powerbook is once again sleeping safely. Hopefully this will help anyone else who may have this problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.