Jump to content
ErmaC

Clover problems report & features request

767 posts in this topic

Recommended Posts

1 hour ago, apianti said:

It seems to break often. It's not a big deal, the extra ones are actually discarded if the kext identifier is already in the cache, there is no way to tell from the log if they were actually injected though as that just means they were prepared to be injected. Injection happens much later and can't be printed to the log only the screen. However, Lilu+Whatevergreen kexts should always be injected. You should actually inject kexts that are required to boot, and install other kexts that are only needed for extra functionality. Detection only disables injection if FakeSMC is in the cache, this is what you'd want as you want to not inject kexts already in the cache because you also installed them but you need to install FakeSMC for it to work.

 

No, it's not a killer bug by any means, but I'd rather avoid injecting the same kexts twice and always having to make sure both locations are up-to-date. I didn't know that the log can't actually tell you whether the kext was injected or not: I assumed that was the case, given that with Detect it says something like "successfully loaded" for each kext, so thanks for the tip.

I do not agree with your advice on injection, though (sorry if I misinterpreted your words): as stated by many, there's no reason not to install every kext in /L/E, given that injected kexts live outside of the protected MacOS memory space (and some kexts do not even work correctly when injected). For this reason, I keep as few kexts as possible in Other (the ones strictly needed to run the installer). I hope the bug can be fixed soon.

Share this post


Link to post
Share on other sites
Advertisement

First, I did not say inject all of your kexts, I said inject the ones that are required for you to boot. If an extension doesn't work when injected its because it needs another kext that is not loaded, you can try to force loading those kexts. I don't know who told you the nonsense of the protected macOS memory space, that is not even a thing. The kexts are injected through a mechanism that is present in the kernel to load extensions from the boot loader, all kernel extensions are loaded into the kernel memory space or they couldn't work... There is reason to inject some kexts, as I said Lilu+Whatevergreen need to be injected to ensure they are initialized before any of the kexts they patch.

Share this post


Link to post
Share on other sites
9 hours ago, Power Mac said:

Hi, I believe both No and Detect options for Inject Kexts are, once again, broken in Clover. While trying to improve my boot time, I took a look at my debug.log; I found out that, despite the fact that I've always used Detect (given that I place any extra kexts in Library/Extensions), Clover keeps loading kexts from the Other folder too. I then tried No instead of Detect, but the result is the same (with the exception that Clover skips kext injection... only to inject them just a line later).

I can't track back the version that re-introduced the bug, but it's been the case for at least the current release and the previous one, and I'm sure there's nothing wrong with my configuration (my config.plist is quite spartan and I checked it out for possible conflicts). Besides, even if there were severe issues related to my kext cache (that Clover should read in order to detect FakeSMC), Inject Kexts=No should do its work in any given condition. Last but not least, RehabMan already found out such a bug in an older Clover version, that's why I believe the feature still needs some refinement.

 

Here's a sample. To try and narrow down the issue, for this debug boot I deleted every kext in Other and set "No" for Inject Kexts. But as you can see, Clover keeps trying to inject kexts. When I actually leave some kexts in Other, they end up loading just fine (redundantly and pointlessly).


skipping kext injection (not requested)
10:358  0:010  Use origin smbios table type 1 guid.
10:374  0:015  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other
10:380  0:006  Extra kext: EFI\CLOVER\kexts\Other\WhateverGreen.kext (v.1.2.6)
10:389  0:008  Failed to load extra kext (Info.plist not found): EFI\CLOVER\kexts\Other\WhateverGreen.kext

I hope this'll be useful.

P.S. I haven't tried the current beta iteration yet (Clover 4901) because I prefer waiting for stable releases for the sake of safeness. 

Check the contents of your WhateverGreen.kext kext to see if it's like it should be

286813662_Capturedcranle2019-03-2315_32_34.png.1b2ab4df5d9553965934adee444167d5.png

Share this post


Link to post
Share on other sites
Posted (edited)
14 hours ago, chris1111 said:

Check the contents of your WhateverGreen.kext kext to see if it's like it should be

286813662_Capturedcranle2019-03-2315_32_34.png.1b2ab4df5d9553965934adee444167d5.png

 

Thank you for the suggestion but that's not the issue there: the log returns that error because I emptied my Other folder for that test (that is, WhateverGreen wasn't physically there anymore); it loads just fine, with the other ones, if I leave them in Other.

 

14 hours ago, apianti said:

First, I did not say inject all of your kexts, I said inject the ones that are required for you to boot. If an extension doesn't work when injected its because it needs another kext that is not loaded, you can try to force loading those kexts. I don't know who told you the nonsense of the protected macOS memory space, that is not even a thing. The kexts are injected through a mechanism that is present in the kernel to load extensions from the boot loader, all kernel extensions are loaded into the kernel memory space or they couldn't work... There is reason to inject some kexts, as I said Lilu+Whatevergreen need to be injected to ensure they are initialized before any of the kexts they patch.

 

Well, the "one" who told me, corroborated by a couple other devs, is a guide on the site of the one who shall not be named (but is active in the developers' corner): can't link anything because I don't want a ban, but I trust him deeply, and most of the times his guides and advice are a step ahead of everyone else's.
 

Anyway, adding what Slice said to the mix, if I were in your shoes I'd either remove the functionality or fix it: it's going to be confusing for new users who won't be able to wrap their head around it, and old ones like me will keep believing it's a forgotten bug. Besides, if what has been said about injecting kexts is true, is there a master list of kexts that need injection and kext who do not? Because GitHub pages never mention anything of the sort.

Edited by Power Mac

Share this post


Link to post
Share on other sites

Literally every single one of them is wrong then. There is no possible other place for the extensions to be loaded except into the kernel memory space. Especially since there is only kernel and user memory spaces, kernel extensions don't really make much sense outside of the kernel.... Inject kexts that you need to boot successfully, any kext that needs to be initialized first before another kext and perform some action on that kext, needs to be injected since boot loader kernel extensions are initialized first. I don't really have time to deal with any issues currently and if slice says it's working right then, idk.

Share this post


Link to post
Share on other sites
Posted (edited)

Sorry guys, anyway.. I just finished migrating from OS X 10.11.6 + Xcode 8.2.1 to macOS 10.13.6 + Xcode 10.1.

Now, I'm having this issue when building Clover using: ./ebuild.sh -fr then on ./makepkg:

 

Building CloverUpdater application...
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; its version (10.6) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk; its version (10.7) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk; its version (10.8) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.201 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; its version (10.10) is below required minimum (10.11) for the macosx platform.
** BUILD FAILED **


The following build commands failed:
	Ld /Users/badruzeus/src/UDK2018/Clover/CloverPackage/CloverUpdater/build/CloverUpdater.app/Contents/MacOS/CloverUpdater normal x86_64
(1 failure)
make: *** [CloverUpdater] Error 65
MacBook-Pro:CloverPackage badruzeus$ 

..and yes, I use multiple SDK's on /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

(10.6 upto 10.14), MinimumSDKVersion on '../MacOSX.platform/Info.plist' is 10.11.

Any missing step with Xcode 10? Thanks.

Edited by Badruzeus

Share this post


Link to post
Share on other sites
Posted (edited)
8 hours ago, Badruzeus said:

Sorry guys, anyway.. I just finished migrating from OS X 10.11.6 + Xcode 8.2.1 to macOS 10.13.6 + Xcode 10.1.

Now, I'm having this issue when building Clover using: ./ebuild.sh -fr then on ./makepkg:

 


Building CloverUpdater application...
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; its version (10.6) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk; its version (10.7) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk; its version (10.8) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.201 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; its version (10.10) is below required minimum (10.11) for the macosx platform.
** BUILD FAILED **


The following build commands failed:
	Ld /Users/badruzeus/src/UDK2018/Clover/CloverPackage/CloverUpdater/build/CloverUpdater.app/Contents/MacOS/CloverUpdater normal x86_64
(1 failure)
make: *** [CloverUpdater] Error 65
MacBook-Pro:CloverPackage badruzeus$ 

..and yes, I use multiple SDK's on /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

(10.6 upto 10.14), MinimumSDKVersion on '../MacOSX.platform/Info.plist' is 10.11.

Any missing step with Xcode 10? Thanks.

 

Hi

 

Sometimes ago, I've the same problem after migrate to Mojave + Xcode 10.1

 

I've forgotten to remove previous Xcode command tools and install tools for Xcode 10.1

Capture d’écran 2019-03-25 à 07.45.39.png

Edited by Matgen84

Share this post


Link to post
Share on other sites
53 minutes ago, Matgen84 said:

 

Hi

 

Sometimes ago, I've the same problem after migrate to Mojave + Xcode 10.1

 

I've forgotten to remove previous Xcode command tools and install tools for Xcode 10.1

Capture d’écran 2019-03-25 à 07.45.39.png

Ok, no worry.. my bad; I had issue with /Applications dir permissions before installing XCode. No problem after repair. Thanks.

Share this post


Link to post
Share on other sites
Posted (edited)

Hi

 

Don't try with Xcode 10.1. After installing Xcode 10.2 and command lines tools 10.2 under Mojave 10.14.4: I've this issue to build Clover r4906

[CC] b64cdecode
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:60:9: error: redefinition of 'Netmodel' with a different type: 'CHAR8 *[4]' vs 'CHAR8 *' (aka 'char *')
CHAR8*  Netmodel[4];
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:33:9: note: previous definition is here
CHAR8*  Netmodel;
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:35: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                  ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:69: note: passing argument to parameter 'Addr1' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                    ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:49: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                                ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:88: note: passing argument to parameter 'Addr2' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                                       ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:696:33: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
            Netmodel[net_count] = get_net_model(deviceid);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~
                                  *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2914:20: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
    Netmodel[card] = get_net_model((FakeVen << 16) + FakeID);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2988:25: error: incompatible pointer to integer conversion passing 'UINT32 [4]' to parameter of type 'UINT32' (aka 'unsigned int') [-Werror,-Wint-conversion]
    aml_add_dword(root, NetworkADR1);
                        ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:27:52: note: passing argument to parameter 'value' here
AML_CHUNK* aml_add_dword(AML_CHUNK* parent, UINT32 value);
                                                   ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2998:9: error: address of array 'NetworkADR2' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    if (NetworkADR2) {
    ~~  ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2999:22: error: ordered comparison between pointer and integer ('UINT32 *' (aka 'unsigned int *') and 'int') [-Werror]
      if (NetworkADR2> 0x3F)
          ~~~~~~~~~~~^ ~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:3031:33: error: incompatible integer to pointer conversion passing 'CHAR8' (aka 'char') to parameter of type 'CHAR8 *' (aka 'char *'); take the address with & [-Werror,-Wint-conversion]
    aml_add_string_buffer(pack, Netmodel[card]);
                                ^~~~~~~~~~~~~~
                                &
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:43:71: note: passing argument to parameter 'string' here
AML_CHUNK* aml_add_string_buffer(AML_CHUNK* parent, /* CONST*/ CHAR8* string);
                                                                      ^
9 errors generated.
make: *** [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/FixBiosDsdt.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -

 

Edited by Matgen84

Share this post


Link to post
Share on other sites
46 minutes ago, Matgen84 said:

Hi

 

Don't try with Xcode 10.1. After installing Xcode 10.2 and command lines tools 10.2 under Mojave 10.14.4: I've this issue to build Clover r4906


[CC] b64cdecode
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:60:9: error: redefinition of 'Netmodel' with a different type: 'CHAR8 *[4]' vs 'CHAR8 *' (aka 'char *')
CHAR8*  Netmodel[4];
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:33:9: note: previous definition is here
CHAR8*  Netmodel;
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:35: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                  ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:69: note: passing argument to parameter 'Addr1' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                    ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:49: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                                ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:88: note: passing argument to parameter 'Addr2' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                                       ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:696:33: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
            Netmodel[net_count] = get_net_model(deviceid);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~
                                  *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2914:20: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
    Netmodel[card] = get_net_model((FakeVen << 16) + FakeID);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2988:25: error: incompatible pointer to integer conversion passing 'UINT32 [4]' to parameter of type 'UINT32' (aka 'unsigned int') [-Werror,-Wint-conversion]
    aml_add_dword(root, NetworkADR1);
                        ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:27:52: note: passing argument to parameter 'value' here
AML_CHUNK* aml_add_dword(AML_CHUNK* parent, UINT32 value);
                                                   ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2998:9: error: address of array 'NetworkADR2' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    if (NetworkADR2) {
    ~~  ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2999:22: error: ordered comparison between pointer and integer ('UINT32 *' (aka 'unsigned int *') and 'int') [-Werror]
      if (NetworkADR2> 0x3F)
          ~~~~~~~~~~~^ ~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:3031:33: error: incompatible integer to pointer conversion passing 'CHAR8' (aka 'char') to parameter of type 'CHAR8 *' (aka 'char *'); take the address with & [-Werror,-Wint-conversion]
    aml_add_string_buffer(pack, Netmodel[card]);
                                ^~~~~~~~~~~~~~
                                &
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:43:71: note: passing argument to parameter 'string' here
AML_CHUNK* aml_add_string_buffer(AML_CHUNK* parent, /* CONST*/ CHAR8* string);
                                                                      ^
9 errors generated.
make: *** [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/FixBiosDsdt.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -

 

I C

Share this post


Link to post
Share on other sites

Thanks @Slice build succeeded after r4907, booting fine as usual, GFX model detection is also working (I think).

I just don't get what does r4904 commit mean related to HDEF, what's changed?

Screen Shot 4.png

Share this post


Link to post
Share on other sites

@Slice,

 

From that code, NetName is not referenced anywhere else in code, why does it exist?

 

@Badruzeus,

 

The difference is that it changed from fixing the device name and injecting properties to merely just fixing the device. The properties are added with hda injection enabled instead.

Share this post


Link to post
Share on other sites
Posted (edited)
9 hours ago, Slice said:

Because of 4908 :yes:

 

You should use only one string instead then and when you make the device in aml, set the fourth character to the card number like

STATIC CHAR8 NetName[5] = "ETH0";
...
NetName[3] = '0' + (CHAR8)card;
dev = aml_add_device(root, NetName);

That changes the amount of binary memory space used from more than twenty bytes including instructions to like ten bytes including instructions. Any list of strings that behaves like this should be changed as it will reduce the binary size and performs appropriately the same.

 

EDIT: Typo.

Edited by apianti

Share this post


Link to post
Share on other sites
Posted (edited)

Hi guys,

 

I noticed that I started getting CMOS resets on my legacy Ga-P55aUD3 desktop (system 2 in my sig) after updating to 10.14.4.  This was fixed by replacing the AppleRTC.kext in 10.14.4 with the vanilla kext from 10.14.3 (and rebuilding kextcache/pre-linked kernel).

 

Maybe one of the Clover developers can update Clover's automatic AppleRTC.kext patching to handle the newer version - attached are the vanilla kexts from 10.14.3 and 10.14.4 :angel_not:...

 

AppleRTC_10.14.3.kext.zip

AppleRTC_10.14.4.kext.zip

 

Edit1

On 3/29/2019 at 8:04 AM, ctich said:

 

Thanks very much @ctich :thumbsup_anim:

 

Adding the following code from @RodionS in Clover's config.plist/KernelAndKextPatches/KextsToPatch prevents my BIOS/CMOS from resetting when booting into 10.14.4...

 

<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>AppleRTC for 10.14.4</string>
				<key>MatchOS</key>
				<string>10.14.x</string>
				<key>Find</key>
				<data>dTMPtw==</data>
				<key>Name</key>
				<string>com.apple.driver.AppleRTC</string>
				<key>Replace</key>
				<data>6zMPtw==</data>
			</dict>

 

Edit2

Issue fixed in Clover r4911+, thanks to @Sherlocks :).

Edited by fusion71au
Issue fixed in Clover r4911+

Share this post


Link to post
Share on other sites
12 minutes ago, apianti said:

Yes, but it is not even used by anything, so it is not required to checkout.

Ok thanks for clarified

Share this post


Link to post
Share on other sites
Posted (edited)

i report bug about MatchOS 

5:951  0:000   - [01]: Disable panic kext logging on 10.14-10.14.3 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14 | MatchBuild: no] ==> allowed by OS
5:951  0:000   - [02]: Disable panic kext logging on 10.14.4-10.14.6 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14.5 | MatchBuild: no] ==> allowed by OS

 

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l1469

 

here is introduction

/* example for valid matches are:

10.7, only 10.7 (10.7.1 will be skipped)
10.10.2 only 10.10.2 (10.10.1 or 10.10.5 will be skipped)
10.10.x (or 10.10.X), in this case is valid for all minor version of 10.10 (10.10.(0-9))
*/
 
10.7, only 10.7 (10.7.1 will be skipped) . <----- it's not working
 
EDIT1
i will fix this bug
 
EDIT2
fixed
7:753  0:000   - [01]: Disable panic kext logging on 10.14-10.14.3 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14,10.14.1,10.14.2,10.14.3 | MatchBuild: no] ==> not allowed by OS
7:753  0:000   - [02]: Disable panic kext logging on 10.14.4-10.14.6 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14.4,10.14.5,10.14.6 | MatchBuild: no] ==> allowed by OS
Edited by Sherlocks

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, kuruu said:

 

Hi. I have a problem that I think is related to Clover.
 
I have a Z370N motherboard with 4 SATA ports. I have a PCI-E card with 2 SATA ports. They are all populated with 8TB disks in a mirrored ZFS array.

Boot drive is NVMe and I am using the latest Clover installer (4910) and Mojave 10.14.4

Upon booting after a CMOS reset/BIOS update, the disks appear in MacOS Mojave as expected. Upon subsequent reboots, the 4 ports on the motherboard do not register the disks. Sometimes, the disks randomly appear after a reboot.

Upon testing with APFS SATA disks, there is no such problem. This appears to be a problem limited to recognising ZFS disks on the motherboard SATA ports. The PCI-E attached disks are unaffected. 
 
It seems to be an issue with Clover because upon startup after a CMOS reset, Clover takes a while to scan disks and does not recognise my "LastBootedVolume" - upon subsequent boots, there is no lengthy scan it boots right up.

Has anyone experienced this? Any thoughts on a fix?

 

 

I have the same issue... I do see in the clover debug log (after a restart, not a shutdown) that clovers DOES see the discs, but but booting through to macOS the SATA drives are not there (both NVMe's are ok). Not even in system information....

Edited by Sander Spilleman

Share this post


Link to post
Share on other sites
Posted (edited)
On 3/30/2019 at 9:34 AM, kuruu said:

 

Hi. I have a problem that I think is related to Clover.
 
I have a Z370N motherboard with 4 SATA ports. I have a PCI-E card with 2 SATA ports. They are all populated with 8TB disks in a mirrored ZFS array.

Boot drive is NVMe and I am using the latest Clover installer (4910) and Mojave 10.14.4

Upon booting after a CMOS reset/BIOS update, the disks appear in MacOS Mojave as expected. Upon subsequent reboots, the 4 ports on the motherboard do not register the disks. Sometimes, the disks randomly appear after a reboot.

Upon testing with APFS SATA disks, there is no such problem. This appears to be a problem limited to recognising ZFS disks on the motherboard SATA ports. The PCI-E attached disks are unaffected. 
 
It seems to be an issue with Clover because upon startup after a CMOS reset, Clover takes a while to scan disks and does not recognise my "LastBootedVolume" - upon subsequent boots, there is no lengthy scan it boots right up.

Has anyone experienced this? Any thoughts on a fix?

 

 

I somehow managed to get this fixed om my rig.... Updated to the latest version and fiddles around with bios settings. See attached, my bios settings. I cant remember which settings I changed in my latest iteration, hence I'm sending you my whole BIOS profile. I'm on clover v4914 beta now....

ctrl-f2_setting.txt

Edited by Sander Spilleman

Share this post


Link to post
Share on other sites
On 3/24/2019 at 10:23 AM, Power Mac said:

Well, the "one" who told me, corroborated by a couple other devs, is a guide on the site of the one who shall not be named (but is active in the developers' corner): can't link anything because I don't want a ban, but I trust him deeply, and most of the times his guides and advice are a step ahead of everyone else's.

 

Let me second that real quick, utter rubbish, please stop spreading FUD. The kext data to link, i.e. the executable and the Info.plist, are put in a buffer that resides in the booter's Device Tree memory, then it is picked up by the kernel from there and linked into the kernel space, as any kext is. The mechanism used to inject kexts now is literally the Apple mechanism to boot without kextcache several versions ago.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By e97
      HackPro X99 System
      Until Apple blesses us with the MacPro7,1 – this is for those that require tools to do their work.
      An appropriate bicycle for the mind.
       
       

       

       

       
      Specs:
       
      CPU: Intel Xeon E5-2678 v3 (12 core, 2.5 GHz / 3.3 GHz Boost)
      Motherboard: SZMZ X99-8D3
      RAM: 16GB DDR3-14900R 1866Mhz ECC RDIMM modules
      GPU: Radeon RX Vega 64 8GB
      Storage: Phison E12 m.2 NVMe PCI-E 3.0 x4 SSD
      Water blocks: BARROW CPU + GPU
      Radiator: 360mm x 25mm slim
      Pump: DDC
       
      Case dimensions: 431 mm x 342 mm x 177 mm
       
       
       
      XCPM OFF
       

       
      XCPM ON
       

       
      OpenCL
       

       
       
       
      iMacPro1,1
       

       
       

       
      OpenCL
       

       
       
      NVMe
       

       
       
      Win 10 x64 v1809
       
      AIDA64 - Cache & Memory
       

       
       
      Download:  https://github.com/xe97/X99-8D3-Clover
       
       
       
       
       
      Anyone else I forgot
       
       
    • By digivish
      Hi All - quick thing - I have a NUC 8i7BEH with 32GB RAM and 2 x 1TB SSD drives. Each drive has its own OS - Windows 10 and Catalina 10.15.
       
      Clover works well - Catalina Boots, so does Windows.
      Catalina - has sound over HDMI (to my monitor's speakers)
      Windows - no audio device found - It does show Realtek and Intel Display Drivers - but the speaker has a red"x" and in Devices, there is no entry for Microphone Array under Audio Input/Output. It does, however, show Intel display over the HDMI - but actually no sound.
       
      I have tried reinstalling Realtek drivers - now here's the thing...when it installs, it first uninstalls existing Realtek drivers - at this stage (and it's important) the sound starts working - as if uninstalling did the trick. As part of the installing, I have to reboot and upon reboot, it actually reinstalls the Realtek drivers. After that, I'm back to square 1. Unsure if it's the config.plist or boot args in clover. But something with Clover for sure.
       
      I have tested this by removing the Mac Drive with clover and just booting directly to Windows 10 bootloader and everything works as it should, I have sound over HDMI and the audio device shows. Just not when I boot with Clover.
       
      has anyone experienced this and have thoughts or pointers.
       
      Thanks a ton!
    • By MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://olarila.com/forum/viewtopic.php?f=28&amp;t=10578
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By kylon
      ACPI and Clover config for Acer Aspire v5-571PG
       
      Tested on Catalina 10.15.1 and Clover EFI 5098 (Should work on MacOS 10.9.x - 10.15.x)
       
      Not Working:
      - sd card reader
      - Atheros AR9462 (use a compatible USB wireless adapter, see below)
      - Touchscreen (MacOS 10.15 only)
       
       
      Notes:
      Disable Secure Boot and enable Legacy Boot. Legacy Mode is recommended.  
      **To reset your BIOS, power on the pc and hold the power button for about 30-40 seconds or you can short G2101 (RAM SLOT 1)**
       
       
      About the Atheros card:
      You can install ATH9KFixup (you will also need additional patches on 10.14+ to restore Atheros support) to enable this card, however,
      it will break sleep on MacOS 10.14+, it can freeze your OS at any time and it can freeze your network settings.
      Because of its instability it is highly recommended to buy a USB wireless adapter.
       
      You can find a list of working adapters, and the drivers, here.
       
       
      Additional things you will need:
      Latest Clover config (AcerAspireV5-571pg - CCE Bank) from here CloverEFI (download) or OpenCore (download - Untested) WhateverGreen (download) VoodooPS2 (download) VirtualSMC + SMCBatteryManager (download) AppleALC (download) Lilu (download) Mieze Realtek RTL8111 (download)  
      CloverEFI drivers you will need:
      ApfsDriverLoader EmuVariableUefi FSInject DataHubDxe VBoxHfs (if you have hfs partitions)  
      Remember to install BIOS drivers if you enable Legaby Boot.
       
       
       
      Feel free to ask for help.
      Please send me a PM if you have fixes or improvements, thanks.
    • By oldman20
      Hi all, i just want to know how can use mouse & keyboard USB with USB port when Cloverbootloader startup? I installed Ps2MouseDxe.efi and UsbMouseDxe.efi but not work, while touchpad and keyboard integrated laptop working!!
      thanks all!
      and 2nd question is: i installed success Catalina with APFS format, in Disk Utility show 2 partition is Catalina SSD and Catalina Data?? what is it?

      more and last, sorry cause it's short question: which most right, in 2 ways create USB installer Catalina,
      sorry my bad english!

      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled && echo Catalina Boot Drive Created

      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Catalina.app --nointeraction

      thanks and regards    
×