264 replies to this topic
#41
Posted 13 June 2011 - 08:55 PM
#42
Posted 13 June 2011 - 09:03 PM
I just saw the changes regarding hibernation support that you commit on GitHub.
Have you applied this changes at lastest revision of RevoBoot?
Have you applied this changes at lastest revision of RevoBoot?
#43
Posted 13 June 2011 - 09:17 PM
mrmojorisin17, on Jun 13 2011, 11:03 PM, said:
I just saw the changes regarding hibernation support that you commit on GitHub.
Have you applied this changes at lastest revision of RevoBoot?
Have you applied this changes at lastest revision of RevoBoot?
Someone with Chameleon or Chimera available can test what
sudo purgewill output? Thanks!
#44
Posted 14 June 2011 - 06:21 AM
Quick question. In RevoBoot v1.0.18 I have the following in settings.h:
#define NUMBER_OF_TURBO_STATES 4 // Set to 4 by default.
Is this directive ignored by the code for my core2duo? in which case I can leave it set at 4?
To test, I've just compiled the latest version using my static cpu data and everything works fine while leaving it at 4 so I guess I've just answered my own question.
@flAked - I'll see if I get time this morning (only about 40 mins remaining before i leave for work) to test your wake from hibernation file.
#define NUMBER_OF_TURBO_STATES 4 // Set to 4 by default.
Is this directive ignored by the code for my core2duo? in which case I can leave it set at 4?
To test, I've just compiled the latest version using my static cpu data and everything works fine while leaving it at 4 so I guess I've just answered my own question.
@flAked - I'll see if I get time this morning (only about 40 mins remaining before i leave for work) to test your wake from hibernation file.
#45
Posted 14 June 2011 - 07:37 AM
flAked, on Jun 13 2011, 10:35 PM, said:
eanwhile, I added hibernation support based on Chameleon: https://github.com/flAked/RevoBoot
Testers?
You need to set
Testers?
You need to set
sudo pmset -a hibernatemode 1and go to sleep. The computer will shut off. Power it on and start OSX, RevoBoot should pick up the sleepimage.
Sleep-image is correctly created and then PC shutdown. But then I get a normal boot, image-sleep is not picked up.
#46
Posted 14 June 2011 - 10:40 AM
Make sure to have HIBERNATE_SUPPORT and DEBUG_BOOT set, what do you see before the kernel starts?
Also note that the sleepimage is quickly obsolete, so to test this you need to create a new sleepimage every time.
This is used by the SSDT_PR generator, which only works for second generation i5/i7 with Turbo 2.0. This can be set via AUTOMATIC_SSDT_PR_CREATION.
Also note that the sleepimage is quickly obsolete, so to test this you need to create a new sleepimage every time.
blackosx, on Jun 14 2011, 08:21 AM, said:
Quick question. In RevoBoot v1.0.18 I have the following in settings.h:
#define NUMBER_OF_TURBO_STATES 4 // Set to 4 by default.
Is this directive ignored by the code for my core2duo? in which case I can leave it set at 4?
#define NUMBER_OF_TURBO_STATES 4 // Set to 4 by default.
Is this directive ignored by the code for my core2duo? in which case I can leave it set at 4?
#47
Posted 14 June 2011 - 11:16 AM
flAked, on Jun 14 2011, 12:40 PM, said:
Make sure to have HIBERNATE_SUPPORT and DEBUG_BOOT set, what do you see before the kernel starts?
Also note that the sleepimage is quickly obsolete, so to test this you need to create a new sleepimage every time.
Also note that the sleepimage is quickly obsolete, so to test this you need to create a new sleepimage every time.
This is what I get before kernel starts:
#48
Posted 14 June 2011 - 11:30 AM
Hmm seems the sleepimage is corrupt or incompatible for what ever reason. Can you try and remove it an generate a new one?
Do you have FileVault / memory encryption enabled? That is not supported.
sudo rm /private/var/vm/sleepimage
Do you have FileVault / memory encryption enabled? That is not supported.
#49
Posted 14 June 2011 - 11:48 AM
It doesn't work.
Always get the same error regarding image signature before kernel starts.
Also this time the sleep-image (4,29GB) was correctly created and put in var/vm.
Don't know if could be help.
This is what I can see in /usr/bin/pmset -g log:
Always get the same error regarding image signature before kernel starts.
Also this time the sleep-image (4,29GB) was correctly created and put in var/vm.
Don't know if could be help.
This is what I can see in /usr/bin/pmset -g log:
* Domain: hibernatestats - Message: Hibernate Statistics - Time: 14/06/11 13.37.54 GMT+02.00 - Signature: hibernatemode=0 - UUID: 3AAADB21-378D-4F2A-9D4E-3B67CC5AB5CB * Domain: sleep - Message: Sleep: Platform Failure - AC - Time: 14/06/11 13.39.59 GMT+02.00 - Signature: Platform Failure - UUID: 742ADC8A-331A-4906-8B03-1DCEA23B44E7 - Result: FailureI also noted this on my kernel.log:
Sleep failure code 0x00000000 0x15000000FileVault is currently disabled.
#50
Posted 14 June 2011 - 11:52 AM
You should have:
Check hibernatemode again, is it set to 1?
* Domain: hibernatestats - Message: Hibernate Statistics - Time: 13/06/2011 22:01:36 CEST - Signature: hibernatemode=1 - UUID: 762E86E4-9BF2-4DCD-8404-893543B40016 - Time to write image (ms): undefined - Time to read image (ms): 23774
Jun 13 22:00:00 slave kernel[0]: hibernate image path: /var/vm/sleepimage Jun 13 22:00:00 slave kernel[0]: sizeof(IOHibernateImageHeader) == 512 Jun 13 22:00:00 slave kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 5 Jun 13 22:00:00 slave kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages Jun 13 22:00:00 slave kernel[0]: hibernate_setup(0) took 0 ms Jun 13 22:01:27 slave kernel[0]: hibernate_page_list_setall start 0xffffff8092b28000, 0xffffff8092b7e000 Jun 13 22:01:27 slave kernel[0]: hibernate_page_list_setall time: 182 ms Jun 13 22:01:27 slave kernel[0]: hibernate_page_list_setall found pageCount 864332 Jun 13 22:01:27 slave kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0 Jun 13 22:01:27 slave kernel[0]: IOHibernatePollerOpen(0) Jun 13 22:01:27 slave kernel[0]: hibernate_machine_init: state 2, image pages 293823, sum was 6fd7820b, image1Size 19fe0400, conflictCount 1572, nextFree 1385 Jun 13 22:01:27 slave kernel[0]: IOHibernatePollerOpen(), ml_get_interrupts_enabled 0 Jun 13 22:01:27 slave kernel[0]: IOHibernatePollerOpen(0) Jun 13 22:01:27 slave kernel[0]: hibernate_machine_init reading Jun 13 22:01:27 slave kernel[0]: PMStats: Hibernate read took 23774 ms Jun 13 22:01:27 slave kernel[0]: hibernate_machine_init pagesDone 1010902 sum2 961f4117, time: 23774 ms
Check hibernatemode again, is it set to 1?
#51
Posted 14 June 2011 - 12:07 PM
In /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist I had this:
BTW, now also in /usr/bin/pmset -g log I've hibernatemode=1
Maybe some values in BIOS...
What's this?
<key>Hibernate Mode</key> <integer>1</integer>also even before re-checking hibernatemode.
BTW, now also in /usr/bin/pmset -g log I've hibernatemode=1
* Domain: hibernatestats - Message: Hibernate Statistics - Time: 14/06/11 13.59.12 GMT+02.00 - Signature: hibernatemode=1 - UUID: D343A216-4A33-40E7-BD75-173B6C66251F * Domain: sleep - Message: Sleep: Platform Failure - AC - Time: 14/06/11 14.00.40 GMT+02.00 - Signature: Platform Failure - UUID: C78250ED-FA94-4D30-960D-AC62FE25A4FB - Result: Failurebut image-sleep is not picked up at boot.
Maybe some values in BIOS...
What's this?
#52
Posted 14 June 2011 - 12:15 PM
I'd say it's a sleep issue you need to fix first (with regular soft sleep as well):
Got to go now, be back in the evening.
* Domain: sleep - Message: Sleep: Success - AC - Software Sleep - Time: 30/04/2011 06:56:02 CEST - Signature: Success - UUID: 299B8748-6E56-4BD8-B3E9-2B5AD208C0AB - Result: Success - Sleep count : 1 * Domain: wake - Message: Wake: Success - AC - Time: 30/04/2011 06:56:02 CEST - Signature: Success - UUID: 299B8748-6E56-4BD8-B3E9-2B5AD208C0AB - Result: Success
Got to go now, be back in the evening.
#53
Posted 14 June 2011 - 12:21 PM
What does you mean?
Apparently I don't have problem with my soft sleep...
Apparently I don't have problem with my soft sleep...
#54
Posted 14 June 2011 - 12:38 PM
Your PMLog shows "Platform Failure".
#55
Posted 14 June 2011 - 12:46 PM
flAked, on Jun 14 2011, 02:38 PM, said:
Your PMLog shows "Platform Failure".
If is set to 0 this is what I get:
[color="#0000FF"]/usr/bin/pmset -g log[/color]: Descrizione: Resoconti di gestione energia Dimensione: 2 KB Ultima modifica: 14/06/11 14.44 Contenuto recente: Power Management ASL logs. -> All messages with "com.apple.message.domain" key set to "com.apple.powermanagement".) * Domain: sleep - Message: Sleep: Success - AC - Software Sleep - Time: 14/06/11 14.42.41 GMT+02.00 [b] - Signature: Success[/b] - UUID: DC618EF6-624C-4407-A268-15394F03930C - Result: Success - Sleep count : 2 * Domain: wake - Message: Wake: Success - AC - EHC1 - Time: 14/06/11 14.42.41 GMT+02.00 [b] - Signature: Success[/b] - UUID: DC618EF6-624C-4407-A268-15394F03930C - Result: Success * Domain: hibernatestats - Message: Hibernate Statistics - Time: 14/06/11 14.42.41 GMT+02.00 [b] - Signature: hibernatemode=0[/b] - UUID: DC618EF6-624C-4407-A268-15394F03930C * Domain: sleep - Message: Sleep: Success - AC - Software Sleep - Time: 14/06/11 14.43.20 GMT+02.00 [b] - Signature: Success[/b] - UUID: 1D255B18-6C9C-4019-898C-4B70C820462C - Result: Success - Sleep count : 3 * Domain: wake - Message: Wake: Success - AC - EHC1 - Time: 14/06/11 14.43.20 GMT+02.00 [b] - Signature: Success[/b] - UUID: 1D255B18-6C9C-4019-898C-4B70C820462C - Result: Success * Domain: hibernatestats - Message: Hibernate Statistics - Time: 14/06/11 14.43.20 GMT+02.00 [b] - Signature: hibernatemode=0[/b] - UUID: 1D255B18-6C9C-4019-898C-4B70C820462C * Domain: sleep - Message: Sleep: Success - AC - Software Sleep - Time: 14/06/11 14.43.50 GMT+02.00 [b] - Signature: Success[/b] - UUID: 6409E721-12FB-4B83-9526-E9128AA6AD9A - Result: Success - Sleep count : 4 * Domain: wake - Message: Wake: Success - AC - EHC1 - Time: 14/06/11 14.43.50 GMT+02.00 [b] - Signature: Success[/b] - UUID: FEA13F0B-B574-477B-AAFE-BB39C433F036 - Result: Success * Domain: hibernatestats - Message: Hibernate Statistics - Time: 14/06/11 14.43.50 GMT+02.00 [b] - Signature: hibernatemode=0[/b] - UUID: FEA13F0B-B574-477B-AAFE-BB39C433F036
#56
Posted 14 June 2011 - 03:32 PM
I got'cha. Hmm, how much hdd space left on / ?
#57
Posted 14 June 2011 - 04:03 PM
#58
Posted 14 June 2011 - 04:06 PM
How cute
Well, I'm a bit lost on this issue. The actual resume code seems to work fine here. Your issue lies in the generation of the sleepimage itself.
Does your PC shutdown automatically after the image is written to disk?
It's a blind shot, but have you tried booting in 64bit and then hibernate + wake?
Well, I'm a bit lost on this issue. The actual resume code seems to work fine here. Your issue lies in the generation of the sleepimage itself.
Does your PC shutdown automatically after the image is written to disk?
It's a blind shot, but have you tried booting in 64bit and then hibernate + wake?
#59
Posted 14 June 2011 - 04:10 PM
Yep, PC shutdown automatically.
I'll try to boot in 64-bit.
I'll be back in 2 minutes...
EDIT
Hibernation doesn't work also in 64-bit mode.
Get the same error regarding image-sleep.
Really don't know what to do...
I'll try to boot in 64-bit.
I'll be back in 2 minutes...
EDIT
Hibernation doesn't work also in 64-bit mode.
Get the same error regarding image-sleep.
Really don't know what to do...
#60
Posted 14 June 2011 - 04:59 PM
Can you test this fix?
http://forge.voodoop...rce/commit/136/
in line 1164 just add the (long long) in RevoBoots i386/libsaio/hfs.c
http://forge.voodoop...rce/commit/136/
in line 1164 just add the (long long) in RevoBoots i386/libsaio/hfs.c
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









