MakAsus Posted June 27, 2020 Share Posted June 27, 2020 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; | ^~~~~~~ 1 Link to comment Share on other sites More sharing options...
LAbyOne Posted June 28, 2020 Share Posted June 28, 2020 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; | ^~~~~~~ Same error by my side 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted June 28, 2020 Share Posted June 28, 2020 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 More sharing options...
Cyberdevs Posted June 28, 2020 Share Posted June 28, 2020 yea same here 1 Link to comment Share on other sites More sharing options...
Slice Posted June 28, 2020 Share Posted June 28, 2020 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? 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted June 28, 2020 Share Posted June 28, 2020 1 hour ago, Slice said: Is it a big problem to fix this mistake? Sorry for my bad English. I don't understand what you mean 1 Link to comment Share on other sites More sharing options...
ITzTravelInTime Posted June 28, 2020 Share Posted June 28, 2020 (edited) 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 June 28, 2020 by ITzTravelInTime 1 Link to comment Share on other sites More sharing options...
MakAsus Posted June 28, 2020 Share Posted June 28, 2020 (edited) The injection was completely broken, since the commit that prepare for 10.16 but if you would like, here is the full complete terminal output: TerminalOutput.txt Edited June 28, 2020 by MakAsus 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 4, 2020 Share Posted July 4, 2020 (edited) 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 July 5, 2020 by Matgen84 Link to comment Share on other sites More sharing options...
tluck Posted July 5, 2020 Share Posted July 5, 2020 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) Link to comment Share on other sites More sharing options...
Slice Posted July 5, 2020 Share Posted July 5, 2020 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) Sorry, if change back then it will work? @Matgen84 Can you check this? 1 Link to comment Share on other sites More sharing options...
tluck Posted July 5, 2020 Share Posted July 5, 2020 3 hours ago, Slice said: Sorry, if change back then it will work? @Matgen84 Can you check this? yes. i changed back to older values and no problem with Catalina. Link to comment Share on other sites More sharing options...
Slice Posted July 6, 2020 Share Posted July 6, 2020 5 hours ago, tluck said: yes. i changed back to older values and no problem with Catalina. i committed. 2 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 6, 2020 Share Posted July 6, 2020 (edited) 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 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 debug.log Edited July 8, 2020 by Matgen84 1 Link to comment Share on other sites More sharing options...
MakAsus Posted July 6, 2020 Share Posted July 6, 2020 (edited) 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 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 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 July 6, 2020 by MakAsus 1 Link to comment Share on other sites More sharing options...
tluck Posted July 7, 2020 Share Posted July 7, 2020 all good here (again) with catalina 10.15.5 ... WEG 1.4.1 (latest) 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 8, 2020 Share Posted July 8, 2020 (edited) 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 Very annoying this issues. Do you have a discrete card on your working config? Edited July 8, 2020 by Matgen84 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted July 8, 2020 Share Posted July 8, 2020 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. 1 1 Link to comment Share on other sites More sharing options...
Slice Posted July 8, 2020 Share Posted July 8, 2020 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 3 Link to comment Share on other sites More sharing options...
MakAsus Posted July 9, 2020 Share Posted July 9, 2020 (edited) 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 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 July 9, 2020 by MakAsus 1 Link to comment Share on other sites More sharing options...
pkdesign Posted July 9, 2020 Share Posted July 9, 2020 I just tried to see if this happens and I do not have an issue with verbose working with -v in my config. I do use OcQuirks though. 1 Link to comment Share on other sites More sharing options...
crazybirdy Posted July 10, 2020 Share Posted July 10, 2020 I found the KextsToPatch, KernelToPatch didn't work here since commit 1856b51 on 6/24. Anyone has the same issue? 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 10, 2020 Share Posted July 10, 2020 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. 1 Link to comment Share on other sites More sharing options...
MakAsus Posted July 10, 2020 Share Posted July 10, 2020 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? Yes, I came across this, and was forced to change the above files for myself. 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 10, 2020 Share Posted July 10, 2020 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/> 1 Link to comment Share on other sites More sharing options...
Recommended Posts