Jump to content
30960 posts in this topic

Recommended Posts

Does anyone know if it is possible to have native NVRAM on Gigabyte Z170? I have been searching high and low, but haven't found anything

Are you using AptioFix? It might be you are not because Aptio V likely fixed some stuff AptioFix is doing today...

If you are using AptioFix, up a memory map dumped from UEFI Shell (memmap > fs0:\memmap.txt) and one from macOS with DarwinDumper. Also, if you are using AptioFix non-2 right now, please make a working boot stick and use AptioFix2 for dumping the map... If not possible, use non-2 but add a note you did.

 

How to do sleep/wake working with UEFI BOOT.

 

It was problem #1 with UEFI BOOT.

Users usually claim that sleep-wake is not working with Clover while working with Chameleon. This is wrong claim.

There is a problem with UEFI BOOT which is possible only with Clover but all is good with LEGACY BOOT with Clover, Chameleon and other bootloaders.

 

Now I may said exactly that for working sleep/wake in the case of UEFI boot you need a videocard with UEFI BIOS. I reflashed my Radeon HD6670 with custom-made UEFI BIOS, 

set the follow in mother bios

Full LOGO = Disabled

OS = Windows 8

CSM support = never

attachicon.gif130712183332.png

 

And now I have only UEFI boot (no legacy is possible).

I have native resolution in Clover GUI 1920x1080 without additional UEFI drivers.

I have full working sleep and wake.

New ACPI table VFCT.

 

No custom DSDT, just Clover provided fixes for BIOS.aml

FixDSDTMask=0x30DF

 

 

RESOLVED.

With Clover rev 1942+ sleep/wake works fine without any conditions. In UEFI mode you need OsxAptioFixDrv new revision.

 

 

 

Slice thank you so much for your devotion.

 

Please help me understand what to do. 

 

I have currently an AsusK53E Laptop that doesn't sleep or shutdown, restarts are inconsistent sometimes quick sometimes long.

 

I have searched and asked questions but haven't found a answer yet.

 

I used your MacBook4_1.plist edit section to input what isn't there.  (restart-action) (CSD3) 

I'm using MacBookPro8_3.plist not quite sure if I have the next to last part right in editing the plist.  I'm using Xcode 8.1 with Sierra 10.12.1.

 

 

Using as minimal as I can in config.plist. 

 

I have in the Kernel and Kext Patches set to KernelPm. I have patched AppleRTC, patched AppleIntelCPUPowermanagement.kext.  I tried these to see if it would resolve my shutdown and sleep issues.

 

I'm actually at a loss as to what to do.  I tried many things, as suggested on this forum.

 

But I believe you're the expert in this and I seek your help in resolving sleep, shutdown restart without hangups.

 

I have tried so many combinations that it would be difficult to explain them all.  

 

Please can I get your assistance?

 

Thank you for making all this possible.

 

Mak

Are you using AptioFix? It might be you are not because Aptio V likely fixed some stuff AptioFix is doing today...

If you are using AptioFix, up a memory map dumped from UEFI Shell (memmap > fs0:\memmap.txt) and one from macOS with DarwinDumper. Also, if you are using AptioFix non-2 right now, please make a working boot stick and use AptioFix2 for dumping the map... If not possible, use non-2 but add a note you did.

I'm using AptioFix2 (cannot boot with AptioFix (non-2) on Clover 3895.

 

I hope the attached files are the correct ones (memmap > fs0:\memmap.txt and DarwinDumper -> Firmware Memory Map).

 

Yes, this is related. This is a part of Dmazar's work on OsxAptioFixDrv but he is absent and nobody can continue.

 

The question about nvram.plist location is very interesting. May be Micky1979 may look at the script how to write a file into unmounted volume.

I also think that for the case of FV2 it will  be better to use Recovery HD.

Or we should propose always use ESP and account it to be always mounted. Else logic?

Looks to me like the nvram rc script already supports mounting the drive for writing? (This would add a few seconds to shutdown/reboot, but nothing too serious for SSDs).

I was just thinking that if we use the EFI partition, then we would have "real" nvram, supporting the same nvram on multiple installs on the same PC, I'm not sure if anyone else would like that, but it is something I could have used while testing Sierra while still having El Capitan installed.

memmap.clover.txt

memmap.darwindumper.txt

assuming that was aimed at me... just question why does it work with 3763 and not 3882???

 

not changed anything yet.

Making preboot.log (F2 key press) may help us to speak with you.

@ Slice

Have you seen this post: http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-578?do=findComment&comment=2309338

I posted it because since 10.12 a custom hibernatefile isn´t working.

This is probably resolved in 3897.

assuming that was aimed at me... just question why does it work with 3763 and not 3882???

 

not changed anything yet.

oh sorry than, yes was for you and was a simply question, no accusations, just the first more reliable possible cause. but you answer with another answer, so I have nothing more to say :) .

With Clover r3900, Boot UEFI  Mode

 

Previous OS Version "El Capitan 10.11.6", "Sierra 10.12"

To Hibernate mode to operate properly, run this in Terminal:

 "sudo pmset -a hibernatemode 25"

It works

 

But "Sierra 10.12.1"

Dont wake up

 

It is a log of when I started to reset

-----boot.log (Only Target Partition)

3:012  0:016  - [14]: 'Sierra 10_12_1 HD'
3:051  0:039          AddLoaderEntry for Volume Name=Sierra 10_12_1 HD
3:067  0:015      Check if volume Is Hibernated:
3:067  0:000      Check sleep image 'by signature':
3:137  0:069      read prefs \Library\Preferences\com.apple.PowerManagement.plist status=Success
3:137  0:000      using default sleep image name = \private\var\vm\sleepimage
3:151  0:014      Reading first 512 bytes of sleepimage ...
3:160  0:009      OurBlockIoRead: Lba=30272720, Offset=604E4E4000 (BlockSize=512)
3:160  0:000      sig lion: 73696D65
3:160  0:000      sig snow: 0
3:160  0:000      got sleep image offset
3:160  0:000      Reading completed -> Success
3:160  0:000       sleepimage offset acquired successfully: 604E4E4000
3:160  0:000       gSleepTime: 1478121423
3:173  0:012       HFS+ volume modifyDate: 1478121422
3:173  0:000       image older then volume: -1 sec
3:173  0:000      hibernated: yes
3:173  0:000      UEFI with NVRAM:  Boot0082 no

-----

 

What does it mean "UEFI with NVRAM:  Boot0082 no" ?

@Slice

 

what is your works about last official CLOVER 32 version or last commit?

 

i hope save this file

 

thanks in advance :)

Last oficial release containing 32bit was 3859.

Last tested release was 1590.

  • Like 1

Guys, the latest build (3899) fails to install on a Z170 motherboard, although everything worked fine with the previous version.

 

It works on the Z97S Krait I've got at home. 

 

In case it helps, the SSDs on both computers are now encrypted (using FileVault). But I've got an issue installing Clover update only on the Z170 based one. I also tried reinstalling 3882 on the Z170 system and it worked fine. So it looks like it's an issue only with the latest release, and only with this particular system.

 

Weird... Any idea?

 

post-1303722-0-39592300-1478155156_thumb.png

arsradu: Check the clover install log (it might be on the root of your disk) and see if it gives any clue. Maybe it's having trouble reading your drive(s).

 

Awesome tip. I didn't know that.

 

Well, I checked the log and it says it cannot mount the ESP partition.

ERROR: can't mount ESP partition (disk0s1) !
Check that the partition is well formated in HFS or Fat32.


To format as HFS use command like:
sudo newfs_hfs -v EFI /dev/rdisk0s1


For format as Fat32 use command like:
sudo newfs_msdos -v EFI -F 32 /dev/rdisk0s1

But I'm confused. 3882 can mount the ESP partition, but 3899 can't?

I had this error in the past.

 

What I did:

1 - Unmount the EFI partition.

2 - Run the installer again.

 

If I have the EFI mounted and run the script, I have this same error.

Hmm. Well there are a few things I don't quite understand here:

 

1. If EFI is already mounted, why can't the installer simply proceed with the installation? Why try to mount something that's already mounted?

2. Assuming it's mounted (which I'll definitely check and try what you said), isn't it mounted for both versions? :))) How can it work on 3882 but not 3899? Especially since I tried 3899 first.

@ Sergey

 

There is something that does not convince me with clover on the Z97, I'll explain: when I turn off the PC, as soon as you turn off by itself, it does so even with El , there something that corrupts clover NVRAM? He does this only with Sierra, Yosemite while no

 

Let me know what can be

 

Carmine

 

Ps Where is on repo old version clover ? I don't see 36××( 3577 to 3811 mhmmm )

Hmm. Well there are a few things I don't quite understand here:

 

1. If EFI is already mounted, why can't the installer simply proceed with the installation? Why try to mount something that's already mounted?

2. Assuming it's mounted (which I'll definitely check and try what you said), isn't it mounted for both versions? :))) How can it work on 3882 but not 3899? Especially since I tried 3899 first.

I don't know bro, sorry...

 

When I had his issue here, for me what was most important was have Clover installed.  :P

 

Now the 'whys' can be solved in the future for our Devs  ;)

 

Hint: To get the last Clover version, I make a download of the CloverISO and update the current files.

I don't know bro, sorry...

 

When I had his issue here, for me what was most important was have Clover installed.  :P

 

Now the 'whys' can be solved in the future for our Devs  ;)

 

Hint: To get the last Clover version, I make a download of the CloverISO and update the current files.

 

You're definitely right about getting it installed. :)

 

But you wanna hear the funny part? EFI is not mounted.

  • Like 1

The MountESP script was updated a few versions back to handle logical volumes. Maybe there's something in your disk setup that's off? Or maybe it's changed again as I'm still on 3895 here.

 

If you post your full clover install log it might help find the problem.

The MountESP script was updated a few versions back to handle logical volumes. Maybe there's something in your disk setup that's off? Or maybe it's changed again as I'm still on 3895 here.

 

If you post your full clover install log it might help find the problem.

 

Sure, Riley.

 

Please, see the Install Log attached.

Clover_Install_Log.txt

Clover 3904.

Sierra 10.12.1 16B2555

Just waked from Hibernation mode 25.


dsmesg

 

IOCPUSleepKernel
IOPlatformSleepAction -> AppleSMBusControllerICH
ACPI SLEEP
hibernate_page_list_setall(preflight 0) start
hibernate_teardown started
hibernate_teardown: wired_pages 317220, free_pages 979917, active_pages 742593, inactive_pages 41157, speculative_pages 131, cleaned_pages 0, compressor_pages 0
hibernate_teardown_pmap_structs done: last_valid_compact_indx 864430
hibernate_teardown: mark_as_unneeded_pages 2048, 13207, 11145
hibernate_teardown completed - discarded 26400
hibernate_page_list_setall time: 640 ms
pages 1878148, wire 271046, act 742593, inact 26788, cleaned 0 spec 131, zf 14369, throt 0, compr 0, xpmapped 40000
did discard act 232196 inact 124522 purgeable 80038 spec 386465 cleaned 0
WARNING: hibernate_page_list_setall skipped 59665 xpmapped pages
hibernate_page_list_setall found pageCount 1054927
IOHibernatePollerOpen, ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
encryptStart 140e0
bitmap_size 0x3f6ec, previewSize 0x3020, writing 1031748 pages @ 0x567ec
hibernate_rebuild started
hibernate_rebuild_pmap_structs done: last_valid_compact_indx 864430
hibernate_rebuild completed - took 60 msecs
booter start at 31189 ms smc 0 ms, [0, 0, 0] total 5611 ms, dsply 0, 1098 ms, tramp 535 ms
hibernate_machine_init: state 2, image pages 247879, sum was 15cf976c, imageSize 0x6d75f000, image1Size 0x11aa2000, conflictCount 852, nextFree 41d
IOPolledFilePollersOpen(), ml_get_interrupts_enabled 0
IOPolledFilePollersOpen(0) 17 ms
hibernate_machine_init reading
PMStats: Hibernate read took 19176 ms
hibernate_machine_init pagesDone 1031760 sum2 7a5b4612, time: 19176 ms, disk(0x20000) 76 Mb/s, comp bytes: 2810449920 time: 2289 ms 1170 Mb/s, crypt bytes: 1540083712 time: 7450 ms 197 Mb/s
ACPI S5 WAKE
Wake reason: (User)
Wake reason: (User)
IOPlatformWakeAction -> AppleSMBusControllerICH
IOPlatformWakeAction -> AppleRTC
IOPlatformWakeAction -> AppleKeyStore
Started cpu 2 (lapic id 00000002)
Started cpu 1 (lapic id 00000001)
Started cpu 3 (lapic id 00000003)
gIOLastWakeAbsTime: 3665929296501
handoff , 686f0001, 2f0
handoff , 686f0002, 10
handoff , 686f0004, 7348
handoff , 686f0000, 330
PMRD: System SafeSleep Wake
Previous shutdown cause: 3

 

  • Like 1

@ Sergey

 

There is something that does not convince me with clover on the Z97, I'll explain: when I turn off the PC, as soon as you turn off by itself, it does so even with El , there something that corrupts clover NVRAM? He does this only with Sierra, Yosemite while no

 

Let me know what can be

 

Carmine

 

Ps Where is on repo old version clover ? I don't see 36××( 3577 to 3811 mhmmm )

Carmine,

explain me please what is "clover corrupt nvram"? How do you see this?

Sure, Riley.

 

Please, see the Install Log attached.

What is happen if you type in terminal

diskutil mount /dev/disk0s1

  • Like 1
×
×
  • Create New...