netkas.org

Archive for October, 2008

Deep Sleep, aka Hibernate finaly comes to osx86

Yeah, it works, my hackbook pro jsut woke up from deep sleep, with pcefi v9 beta.

thx to Turbo for support.

pcefi v9 comes some time later, with x86_64 kernels support and deep sleep support.

althought, some mobo fails to make sleepimage and goes to s3 sleep instead of deep sleep, like gigabyte, asus.

i hope it can be fixed.

here is log from dmesg

hibernate image path: /var/vm/sleepimage
sizeof(IOHibernateImageHeader) == 512
Opened file /var/vm/sleepimage, size 3221225472, partition base 0x1e7ba00000, maxio 400000
hibernate image major 14, minor 3, blocksize 512, pollers 3
hibernate_alloc_pages flags 00000000, gobbling 0 pages
0 [Time 1223926667] [Message System SafeSleep
hibernate_page_list_setall start
hibernate_page_list_setall time: 59 ms
pages 131772, wire 72362, act 44668, inact 6605, zf 0, throt 8137, could discard act 0 inact 0 purgeable 0
hibernate_page_list_setall found pageCount 131772
IOHibernatePollerOpen, ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
writing 130752 pages
hibernate_machine_init: state 2, image pages 72279, sum was 141e9dbd, image1Size 9cb2400, conflictCount 0, nextFree 2a
IOHibernatePollerOpen(), ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
hibernate_machine_init reading
hibernate_machine_init pagesDone 131689 sum2 4f5b799c, time: 3849 ms
System SafeSleep Wake

UPDATE
gigabyte ga-ep35-ds3p just woke up from sleep, with less then 4gb ram, 4gb causes some fails(32-bit integer overflow), working on fixing it.