Voodooprojects

Chameleon => Bug Reports => Topic started by: staticanime on July 26, 2009, 01:15:38 AM

Title: Chameleon 2.0 RC2 - Hibernate still broken
Post by: staticanime 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
Title: Re: Chameleon 2.0 RC2 - Hibernate still broken
Post by: staticanime 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
Title: Re: Chameleon 2.0 RC2 - Hibernate still broken
Post by: zef 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.
Title: Re: Chameleon 2.0 RC2 - Hibernate still broken
Post by: tempolo 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?