Jump to content

Clover General discussion


ErmaC
29,907 posts in this topic

Recommended Posts

3 hours ago, tluck said:

@slice - I had to roll back the last 2 commits to get back to commit "prepare for 10.16" - otherwise I don't get any kext injection on 10.15.5. logs look fine as compared to 5119 that works.  but no kexts are injected.

 

 

I have exactly the same story. But commit 982332e44 is not building. It stops with the error:

/Users/sergeyls/src/CloverBootloader/rEFIt_UEFI/Platform/kernel_patcher.cpp:2000:18: error: unused variable 'LinkSeg' [-Werror=unused-variable]
 2000 |         SEGMENT *LinkSeg = (SEGMENT *)segCmd64->segname;
      |                  ^~~~~~~
 

Снимок экрана 2020-06-27 в 09.55.30.png

  • Sad 1
Link to comment
Share on other sites

21 hours ago, MakAsus said:

I have exactly the same story. But commit 982332e44 is not building. It stops with the error:

/Users/sergeyls/src/CloverBootloader/rEFIt_UEFI/Platform/kernel_patcher.cpp:2000:18: error: unused variable 'LinkSeg' [-Werror=unused-variable]
 2000 |         SEGMENT *LinkSeg = (SEGMENT *)segCmd64->segname;
      |                  ^~~~~~~
 

Снимок экрана 2020-06-27 в 09.55.30.png

Same error by my side

  • Sad 1
Link to comment
Share on other sites

3 hours ago, LAbyOne said:

Same error by my side

 

Same here with Xcode for commit 982332e44

 

[CPP] Settings
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/kernel_patcher.cpp:2000:18: error: unused variable 'LinkSeg' [-Werror,-Wunused-variable]
        SEGMENT *LinkSeg = (SEGMENT *)segCmd64->segname;
                 ^
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/kernel_patcher.obj] Error 1


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

 

Link to comment
Share on other sites

3 hours ago, Matgen84 said:

 

Same here with Xcode for commit 982332e44

 


[CPP] Settings
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/kernel_patcher.cpp:2000:18: error: unused variable 'LinkSeg' [-Werror,-Wunused-variable]
        SEGMENT *LinkSeg = (SEGMENT *)segCmd64->segname;
                 ^
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/kernel_patcher.obj] Error 1


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

 

Is it a big problem to fix this mistake?

  • Haha 1
Link to comment
Share on other sites

5 hours ago, Matgen84 said:

 

Same here with Xcode for commit 982332e44

 


[CPP] Settings
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/kernel_patcher.cpp:2000:18: error: unused variable 'LinkSeg' [-Werror,-Wunused-variable]
        SEGMENT *LinkSeg = (SEGMENT *)segCmd64->segname;
                 ^
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/kernel_patcher.obj] Error 1


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

 

 

ah yes the x86 segmentation, always cause of troubles

 

 

jokes aside the problems seems to be a linking error, but i'd need to see a completet terminal output to try to figure it out.

 

on the other hand, can you guys provvide me some material about how to compile and debug clover?

Edited by ITzTravelInTime
  • Haha 1
Link to comment
Share on other sites

Hi @Slice @vector sigma and all users

 

I probably did a mistake somewhere, but I've a black screen instead of Catalina Login windows.
I'm using latest clover r5119 commit d1fbcb9, and all kexts are up to date.

 

I don't when this issue appear because I don't test r5119 commits since June 17.


I tried a old r5118: all works fine.

 

Any ideas! 

 

EDIT: clover r5119 commit d1fbcb9 work fine on Mojave 10.14.6

 

Debug.log in attachment

debug.log

preboot.log

Edited by Matgen84
Link to comment
Share on other sites

for me, these are the changes that fix/break kext inject after commit "prepare for 10.16"  -- seems like BigSur sizing is not back-ward compatible?

 

in kernel_patcher.cpp - changed 0x5000000 back to 0x2000000 (line 88)

in kext_inject.cpp - changed 0x1000 back to 0x500 (line 1090 and 1102) 

 

1548882127_ScreenShot2020-07-05at9_48_14AM.thumb.png.02d3a7e9f7b95e7c9fdd1fe2b320e42d.png1562975879_ScreenShot2020-07-05at9_48_28AM.thumb.png.2cd12087c9c03b52c9010f63bf093043.png

Link to comment
Share on other sites

2 hours ago, tluck said:

for me, these are the changes that fix/break kext inject after commit "prepare for 10.16"  -- seems like BigSur sizing is not back-ward compatible?

 

in kernel_patcher.cpp - changed 0x5000000 back to 0x2000000 (line 88)

in kext_inject.cpp - changed 0x1000 back to 0x500 (line 1090 and 1102) 

 

1548882127_ScreenShot2020-07-05at9_48_14AM.thumb.png.02d3a7e9f7b95e7c9fdd1fe2b320e42d.png1562975879_ScreenShot2020-07-05at9_48_28AM.thumb.png.2cd12087c9c03b52c9010f63bf093043.png

Sorry, if change back then it will work?

@Matgen84 Can you check this?

  • Like 1
Link to comment
Share on other sites

On 7/5/2020 at 9:39 PM, Slice said:

Sorry, if change back then it will work?

@Matgen84 Can you check this?

 

Thanks @Slice since you committed, changing the values to do a test, is no longer necessary. Right! 
 

I build and test new commit with Catalina, and report 

 

Edit:

 

Hi @Slice @tluck

 

I try latest commit b9f87e1 with Catalina 10.15.5 (Z390 Aorus Master config) in verbose mode: black screen before verbose boot, always black screen instead of macos windows login :bye:

 

EDIT1: first test

Update WEG to latest Beta July, 5 (1.4.1). Black screen (few second) before verbose. 
But I can boot Catalina.

 

EDIT2: second test

Always long black screen before verbose boot, always black screen instead of macos windows login :cry:

 

debug.log

Edited by Matgen84
  • Sad 1
Link to comment
Share on other sites

13 hours ago, Matgen84 said:

 

Thanks @Slice since you committed, changing the values to do a test, is no longer necessary. Right! 
 

I build and test new commit with Catalina, and report 

 

Edit:

 

Hi @Slice @tluck

 

I try latest commit b9f87e1 with Catalina 10.15.5 (Z390 Aorus Master config) in verbose mode: black screen before verbose boot, always black screen instead of macos windows login :bye:

 

EDIT1: first test

Update WEG to latest Beta July, 5 (1.4.6). Black screen (few second) before verbose. 
But I can boot Catalina.

 

EDIT2: second test

Always long black screen before verbose boot, always black screen instead of macos windows login :cry:

 

debug.log

I update WEG to latest Beta July, 5 (1.4.6) and Clover committed b9f87e1. Still I see the console output first in text mode, and then a lot of short purple dashes, and a black screen with Catalina 10.15.5. And in graphical mode, first, a loading bar with an apple, and then a lot of purple dashes and a black screen instead of the login window.

 

 

debug.log

system.log

Edited by MakAsus
  • Sad 1
Link to comment
Share on other sites

16 hours ago, tluck said:

all good here (again) with catalina 10.15.5 ... WEG 1.4.1 (latest)

 

 

Strange still always black screen issues (Desktop Z390 + RX580), some kexts don't appear in verbose mode :bye: Very annoying this issues.

Do you have a discrete card on your working config?

Edited by Matgen84
  • Like 1
Link to comment
Share on other sites

Hi @Slice and Others.. Guessing I've missed Clover changes a lot since last year till macOS Big Sur is seeded. Anyway, what icon name to be used for this macOS version on GUI? Eg. os_cata* for Catalina. Thanks.

  • Like 1
  • Haha 1
Link to comment
Share on other sites

5 hours ago, Badruzeus said:

Hi @Slice and Others.. Guessing I've missed Clover changes a lot since last year till macOS Big Sur is seeded. Anyway, what icon name to be used for this macOS version on GUI? Eg. os_cata* for Catalina. Thanks.

os_bigsur.png

:)

  • Like 3
Link to comment
Share on other sites

On 7/8/2020 at 9:32 AM, Matgen84 said:

 

Strange still always black screen issues (Desktop Z390 + RX580), some kexts don't appear in verbose mode :bye: Very annoying this issues.

Do you have a discrete card on your working config?

First try using this OcQuirks instead of AptioMemoryFix and all OsxAptioFix. If this does not help, then try this version of Clover 5119 (4c4d4cfb6). I made a little changed kernel_patcher.cpp and kext_inject.cpp for Catalina 10.15.5 (19F101).

OcQuirks-23-RELEASE.zip

CLOVERX64.efi.zip

Edited by MakAsus
  • Thanks 1
Link to comment
Share on other sites

9 hours ago, MakAsus said:

First try using this OcQuirks instead of AptioMemoryFix and all OsxAptioFix. If this does not help, then try this version of Clover 5119 (4c4d4cfb6). I made a little changed kernel_patcher.cpp and kext_inject.cpp for Catalina 10.15.5 (19F101).

OcQuirks-23-RELEASE.zip

CLOVERX64.efi.zip

 

I'm already using latest OcQuirks rev23. What are you changes in kernel_patcher and kext_inject?
I already use rollback values in these files, with no effects to boot Catalina on my Z390 system.

  • Like 1
Link to comment
Share on other sites

1 hour ago, Matgen84 said:

 

I'm already using latest OcQuirks rev23. What are you changes in kernel_patcher and kext_inject?
I already use rollback values in these files, with no effects to boot Catalina on my Z390 system.

If you already use OcQuirks, it will be enough to replace only OcQuirks.plist from the archive in the attachment. Quirks in it are configured on the Coffee Lake CPU.  As for kernel_patcher and kext_inject, you can compare them with the original ones. 

Platform.zip

1 hour ago, crazybirdy said:

I found the KextsToPatch, KernelToPatch didn't work here since commit 1856b51 on 6/24.

 

Anyone has the same issue?

01.jpg.75ef7607c888723e9d0f56287c00d0d4.jpg

Yes, I came across this, and was forced to change the above files for myself.

  • Like 1
Link to comment
Share on other sites

1 hour ago, MakAsus said:

If you already use OcQuirks, it will be enough to replace only OcQuirks.plist from the archive in the attachment. Quirks in it are configured on the Coffee Lake CPU.  As for kernel_patcher and kext_inject, you can compare them with the original ones. 

Platform.zip

 

Thanks a lot :) It seems to work now: I can boot Clover on Catalina 10.15.5. I hope it was the same in the future.
I just keep this parameters for my Z390 (see in Dortania):
 

<key>ProtectUefiServices</key>
<true/>

 

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...