Author Topic: Chameleon 2.0 RC2 - Hibernate still broken  (Read 3494 times)

0 Members and 1 Guest are viewing this topic.

staticanime

  • Member
  • Posts: 45
Chameleon 2.0 RC2 - Hibernate still broken
« on: July 26, 2009, 01:15:38 AM »
Hey all, tried Chameleon 2.0RC2 on my MSI Wind (upgraded from RC1 with Stig's fixed boot file for hibernation), now hibernation is broken again. First attempt siad the image was encrypted, second failed checksum, then i deleted /private/var/vm/sleepimage and tried again, only to get an "Invalid image" message flashing by very quick

staticanime

  • Member
  • Posts: 45
Re: Chameleon 2.0 RC2 - Hibernate still broken
« Reply #1 on: July 26, 2009, 04:24:17 PM »
EDIT: Stig's patch also works for RC2, so just grab sources, edit resume.c as per his intructions and compile

zef

  • Administrator
  • Posts: 265
Re: Chameleon 2.0 RC2 - Hibernate still broken
« Reply #2 on: July 27, 2009, 12:09:42 PM »
While that patch can resolve issues, it just ignores the size check for the sleep image, and it is very dangerous. The proper fix would be to make more room for the sleep image.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

tempolo

  • Member
  • Posts: 82
    • My own Hackintosh page
Re: Chameleon 2.0 RC2 - Hibernate still broken
« Reply #3 on: July 27, 2009, 03:54:47 PM »
it just ignores the size check for the sleep image, and it is very dangerous.
How dangerous? If the size doesn't fit, doesn't that just mean that it'll load a bad image, leading probably to a crash? But why should the size be wrong anyway? If I put my system into hibernation, the the sleepimg should always have the correct size, shouldn't it? So where's the danger?