Can’t Sleep in 10.5.8? We can fix it!

Some users (including myself) have experienced the sleep function not working after upgrading to 10.5.8. In my case, the screen, keyboard, and trackpad would all turn off, but the fans and lights would all stay on and running. If you tried to turn it back on, the system would be unresponsive.

The only way to repair this is to revert back to the 10.5.7 kernel. You still get the updates that are applied in 10.5.8, we just need 10.5.7’s kernel back to enable sleep again.You can make sleep/resume work on 10.5.8 by replacing your kernel with 10.5.7’s kernel.

There’s something with Kernel 9.8.0 (10.5.8’s kernel) that breaks sleep. If you’re already on 10.5.8 and using kernel 9.8.0, setting Mac OS X to hibernatemode 0 will brick your install. I did that and the result was that I couldn’t even boot in superuser mode, got stuck at the infamous “MAC framework successfully initialized using 5242 buffer headers and 4096 cluster IO buffer headers“. Once you’ve replaced kernel 9.7.0, you can set hibernatemode to 0 to get rid of that “sleepimage has garbage” error message at boot up and recover the 2GB of hdd space occupied by the sleepimage in your /Private/var/vm folder.
-LeMaurien19

Let’s get started. First of all, download the folowing zip file: 1057Kernel.and.Kexts.zip and if you do not have these already (you should) the HP Mini Essential Files.

  1. After downloading the .zip, extract the contents to your desktop.
  2. Open the 10.5.7Kernel_system_seatbelt folder.
  3. Open the ShowAllFiles app.
  4. Choose to SHOW all hidden files. Finder will automatically restart.
  5. Back in the 10.5.7Kernel_system_seatbelt folder, you will now see a file called mach_kernel. Move that file directly to your Desktop.
  6. Now we need Termnial. Go to Applications > Utilities > Terminal.app.

Type the following into terminal:

     sudo mv /mach_kernel /mach_kernel.patched

That will back up the current kernel as mach_kernel.patched.

Now type:

     sudo cp /Users/YOURUSERNAMEHERE/Desktop/mach_kernel /

to install the new kernel.

Exit Terminal.

Now, we need to go into our HP Mini Essential files (if you haven’t already, go ahead an extract the .zip file to the desktop.)

  1. Open the HP Mini Essential Files folder.
  2. Open the OSX86Tools_.1.0.150 folder.
  3. Open OSX86Tools.
  4. Click “Install Kexts“.
  5. Navigate to your 10.5.7Kernel_system_seatbelt folder from earlier.
  6. Choose the two kexts, “seatbelt.kext” and “System.kext“.
  7. Click “OK” at all the prompts and choose to restart when it asks you to.
  8. After you reboot, open OSX86Tools again, and check off Repair Permissions. Run the selected tasks.
  9. Reboot.

After reboot, your sleep should now be working. It might take a minute for it to sleep, but it should fully go into sleep mode with the blinking power light. I hope this fix works for you, as it did for me.

If you have any questions or comments, feel free to comment below. Don’t forget about MyHPMini.com’s forums. There are plenty of knowledgable people over there willing to help!

A big thanks to LeMaurien19 over at MyHPMini.com forums for letting me use and his kernel, kexts, and info so that I could create a guide for you guys to use here at OSXHPMini.info. He frequently posts at MyMacbookMini.com.

Advertisements

9 Responses to Can’t Sleep in 10.5.8? We can fix it!

  1. willy792003 says:

    LeMaurien19 has posted a guide on how to install snow leo on hp mini 1000 (http://mymacbookmini.blogspot.com/2009/09/cat-in-bag-install-snow-leopard-on-hp.html). any luck installing it on 110?

  2. ive says:

    hi, my upgrade was unsuccessful, after reinstalling the older kernel the mini would still not sleep.

    the guide was followed a-z, i had to reinstall all over 10.5.7, any body else had the same problem ???

    tnx

  3. JK says:

    I followed this to the letter on my 110 1025DX and the sleep problem does not get fixed. I ended up reverting to 10.5.5.

    Anyone have any tips?

  4. Bryan says:

    Did you use the guide to install OS X onto your Mini?

  5. JK says:

    I used both the dual bot setup guide and then the OSX install guide. I installed from a USB. Everything went note for note except for one thing – I had to install the kexts the guide said to leave out in order to get the right screen resolution.

  6. Bryan says:

    Oh, hmm. I’ll have to add a note for your particular model 110, that perhaps you might need to add those kexts.

  7. Digimancer says:

    Tried this fix… Killed my install… “Version mis-match between Kernel and CPU PM” cant even load -s option… Gonna try to repair kernel with a clean kernel install from the iDeneb 1.6 lite disk.

  8. Greg says:

    Thank you for your tutorial, it worked completely. I have HP Mini 1030NR with 10.5.8. I followed the instructions and now sleep works. Amazingly enough however, is that when I go to Apple -> About this Mac it still shows 10.5.8. Go figure. I really do not care, my sleep now works!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: