ghost8282 Posted September 14, 2021 Share Posted September 14, 2021 Reviving this: I'm still unable to update the os without a forced shutdown.. Happened right now with the ota delta update to big sur 11.6. Steps: 1. Downloaded the delta ota update from system software update 2. After finishing the download the system asks to reboot <-- It doesn't reboot, monitor shutdown, virsh is reporting my vm is still in execution <-- Waited for 15 min, I had to force the shutdown (virsh destroy BigSur) and manually start again the vm (virsh start BigSur) 3. Update continues with no problem, reboot (OK) 4. Update continues with no problem, reboot (OK) In general I don't have any issue with shutdown/reboot from within the os. Any idea on what's going on? @vit9696 do you know what can I check to see what is preventing the os to reboot? Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 (edited) Okay, so to conclude the `ProcessorType" episode: Fnd your CPU model from this List (section "Apple Processor Type Information - Processor Types") convert it from hex to decimal. Paste it in PlatformInfo > Generic > ProcessorType Save, Reboot, check "About this Mac" to see if it is correct Be happy! Edited September 14, 2021 by 5T33Z0 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 Somehow the command ioreg -rxn "CPU0@0" does not work on my desktop which uses an i9 10850K. Is it because it's defined as "PR00" instead of CPU? Link to comment Share on other sites More sharing options...
ghost8282 Posted September 14, 2021 Share Posted September 14, 2021 5 minutes ago, 5T33Z0 said: ioreg -rxn "CPU0@0" does not work on my desktop which uses an i9 10850K. Is it because it's defined as "PR00" instead of CPU? -n specifies the name, if CPU0@0 doesn't exist nothing will be shown in output Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 Okay, thanks. Will check later what the name is. BTW, I created an issue for the Online ScanPolicy Generator and the guy fixed it already: https://oc-scanpolicy.vercel.app/ Link to comment Share on other sites More sharing options...
Henties Posted September 14, 2021 Share Posted September 14, 2021 (edited) On 9/11/2021 at 8:32 PM, 5T33Z0 said: @Henties Did you disbale the custom entries to the linux bootloader in the config? I think it is not needed anymore. Otherwise I would create an issue in acidantheras bug tracker. That Linux implementation is pretty new. The custom entry for Linux was merely disabled, however removing it altogether did not resolve the issue I am experiencing with booting into Linux by bypassing Grub. I experience this problem only with my Haswell and Skylake builds, and not with any of the 2 Comet Lake machines. I agree with your notion that this new booting method is a rather new OC. feature, will thus be a bit patient and wait what refinements developers will apply to the codebase further down the line, if anything. Resolving the issue is certainly not pressing at the moment. @Septendre In the current OC 0.7.3 version, OC_scan_allow_fs_ext is not present in Misc-->Security referred to in your posting, seems you are on the latest OC 0.7.4 beta code, which if that is the case, confirms the notion that the developers are still fine tuning the code around the new Linux access methodoligy. Edit: In the interim, and after finally having read the other postings on this topic, I got a bit wiser and now understand @Septendre's contribution, which confused me initially, it actually referred to the value set for Misc-->ScanPolicy and its relationship to the bit mask arriving at the entities which are actually allowed during the scanning process. Greetings Henties Edited September 14, 2021 by Henties Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 (edited) Found a Spreedsheet on a german Hackintosh forum for generating the ScanPolicy old school style. Modified it a bit, so it's easier to change values with breaking the formulae included. This is for Numbers and Excel. Pro: If bits are added/changed you can modify the data on your own. Contra: it's so 1980s… Enjoy ScanPolicy_Spreadsheet.zip Edited September 14, 2021 by 5T33Z0 Link to comment Share on other sites More sharing options...
MacNB Posted September 14, 2021 Share Posted September 14, 2021 4 hours ago, 5T33Z0 said: Okay, so to conclude the `ProcessorType" episode: Fnd your CPU model from this List (section "Apple Processor Type Information - Processor Types") convert it from hex to decimal. Paste it in PlatformInfo > Generic > ProcessorType Save, Reboot, check "About this Mac" to see if it is correct Be happy! Good summary. I use PlistEdit Pro plist editor (for many many years now) and that allows you to enter/edit any Number in Hex format. So with that editor, there's no need for any conversion as you can copy and paste the hex value from the source avoiding any errors. 2 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 @MacNB Nice, I didn't know that. Link to comment Share on other sites More sharing options...
MacNB Posted September 14, 2021 Share Posted September 14, 2021 28 minutes ago, 5T33Z0 said: Found a Spreedsheet on a german Hackintosh forum for generating the ScanPolicy old school style. Modified it a bit, so it's easier to change values with breaking the formulae included. This is for Numbers and Excel. Pro: If bits are added/changed you can modify the data on your own. Contra: it's so 1980s… Enjoy ScanPolicy_Spreadsheet.zip 735.98 kB · 1 download Nice find. I use the macOS Calculator app in Programmer mode for Field that has bit setting (like the ScanPolicy). Basically, open the OC Configuration.pdf and go to the section you are interested in changing. Open Calculator App Change View to "Programmer" (CMD+3) Then click each Bit you wish to set the Calculator will show you the new Hex value. Copy and Paste that hex value into the plist editor. If the editor cannot handle hex value, you can convert the hex to decimal in the Calculator App by simply clicking on 10 button before copy-n-paste. 4 Link to comment Share on other sites More sharing options...
deeveedee Posted September 14, 2021 Share Posted September 14, 2021 5 hours ago, 5T33Z0 said: Okay, so to conclude the `ProcessorType" episode: Fnd your CPU model from this List (section "Apple Processor Type Information - Processor Types") convert it from hex to decimal. Paste it in PlatformInfo > Generic > ProcessorType Save, Reboot, check "About this Mac" to see if it is correct Be happy! Nice. I use XCode, so when I type 0x0704, it's automatically converted to decimal. 2 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 I am wondering if anybody is interested and capable of (I am not) to continue this project: https://github.com/rlerdorf/OCSanity It's the source for the Sanity Checker which has not been updated since 0.6.6 unfortunately: https://opencore.slowgeek.com/ Link to comment Share on other sites More sharing options...
deeveedee Posted September 14, 2021 Share Posted September 14, 2021 @5T33Z0 You've got big cojones for mentioning that here. 2 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 14, 2021 Share Posted September 14, 2021 (edited) 46 minutes ago, tonyx86 said: @5T33Z0 You've got big cojones for mentioning that here. It was a useful resource for troubleshooting configs. I don't know why this would offend anyone. Because the way it works, it's completely based on the Data provided by Dortanias OpenCore Install Guide. From my understanding it basically takes the data for each CPU family directly from the guide and parses it in the backend for the sanity checks. But I think for each version of OpenCore new masks have to be created manually, so that's why I think the work was too tedious in the end. Edited September 14, 2021 by 5T33Z0 Link to comment Share on other sites More sharing options...
1Revenger1 Posted September 15, 2021 Share Posted September 15, 2021 ocvalidate is the closest thing right now - that just makes sure that the plist is valid. I don't think there is anything which compares the plist with the values from the guide. 1 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 15, 2021 Share Posted September 15, 2021 I've added a new method to the OpenCore Update Guide using OCAuxiliaryTools (OCAT). No more headaches and manual fiddling when trying to bring an outdated config.plist up to par with the newest feature-set. Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 16, 2021 Share Posted September 16, 2021 Some decision tree kinda thingy quick start guide to troubleshooting boot issues... work in progress... Link to comment Share on other sites More sharing options...
ghost8282 Posted September 18, 2021 Share Posted September 18, 2021 On 9/14/2021 at 9:07 AM, ghost8282 said: I'm still unable to update the os without a forced shutdown.. Happened right now with the ota delta update to big sur 11.6. Steps: 1. Downloaded the delta ota update from system software update 2. After finishing the download the system asks to reboot <-- It doesn't reboot, monitor shutdown, virsh is reporting my vm is still in execution <-- Waited for 15 min, I had to force the shutdown (virsh destroy BigSur) and manually start again the vm (virsh start BigSur) 3. Update continues with no problem, reboot (OK) 4. Update continues with no problem, reboot (OK) In general I don't have any issue with shutdown/reboot from within the os. Any idea on what's going on? @vit9696 do you know what can I check to see what is preventing the os to reboot? It seems a bug in libvirt or qemu (I suspect libvirt). Not working: qemu 6.1, libvirt 7.6.0/7.7.0 working (same vm configuration, same oc): qemu 5.1, libvirt 6.5.0 I opened an issue in libvirt gitlab, hopefully someone will be able to sort it out. So nothing to do with oc, sorry. Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 18, 2021 Share Posted September 18, 2021 Does somebody have some more insight into what RestrictEvents.kext does exactly? The description on the github page is really vague, yet on the other hand it's used a lot... which I find a bit confusing. Link to comment Share on other sites More sharing options...
miliuco Posted September 18, 2021 Share Posted September 18, 2021 2 hours ago, 5T33Z0 said: Does somebody have some more insight into what RestrictEvents.kext does exactly? The description on the github page is really vague, yet on the other hand it's used a lot... which I find a bit confusing. I find the github description clear: "Lilu Kernel extension for blocking unwanted processes causing compatibility issues on different hardware and unlocking the support for certain features restricted to other hardware. The list of blocks currently includes: /System/Library/CoreServices/ExpansionSlotNotification /System/Library/CoreServices/MemorySlotNotification The list of patches currently includes: Disabled MacBookAir model memory replacement UI (comes in pair with SystemMemoryStatus = Upgradablequirk). Disabled MacPro7,1 PCI Expansion view and RAM view. CPU brand string patch for non-Intel CPUs." Yes, it’ used a lot by those who have MacPro7.1 SMBIOS (like me) or AMD cpus o MacBooAir of soldered ram in SMBIOS. 1 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 18, 2021 Share Posted September 18, 2021 (edited) "Unlocking the support for certain features (which?) restricted to other hardware (which hardware?)". To me this sounds as if it does more than what's listed next. It just sounds vague. Otherwise he could have just said, RestrictEvents does the following and then drop the list. Edited September 20, 2021 by 5T33Z0 Link to comment Share on other sites More sharing options...
Guest 5T33Z0 Posted September 19, 2021 Share Posted September 19, 2021 Some features of OpenCore are so brilliant, you only notice it once you need them. Like the MinKernel and MaxKernel Feature in the Kernel Section. Link to comment Share on other sites More sharing options...
FredWst Posted September 20, 2021 Share Posted September 20, 2021 (edited) Hi, It makes a long time I didn't post here. But, i got a new toy Lenovo Thinkpad T15 Gen 1, all is working except mic sound (need to investigate or help). (fingerprint too but will never work) At the moment Monterey but also works under Big Sur. Major difference is that all PCI device show this error "family specific matching fails" @vit9696 But something strange and unusual I got : see screenshot below. MacOs is booting without Unlocked CFG and no kernel patch ! Patch CFG Lock (0x3E) impossible with know tools (OcTool, Grub tool or Ru refi) because EFI's protect. (I thing patched bios is needed and hard tool to flash), but will it make any differences ? I don't think all working fine with about 10 hours of battery life normal using. (no heavy task) Another thing strange is CPU frequency setting ... Fred Edited September 20, 2021 by FredWst 1 Link to comment Share on other sites More sharing options...
deeveedee Posted September 20, 2021 Share Posted September 20, 2021 @FredWst If I understood you correctly, you're wondering why your rig boots without AppleCpuPmConfigLock=True and/or AppleXcpmCfgLock=True even though your MSR 0xE2 is locked and you are unable to unlock it in BIOS. I experience the same behavior with my rig. Further, when I was using CLOVER, I was unable to boot without CLOVER's KernelPM fix enabled, so the behavior is different with OC than with CLOVER. Others who have used my posted OC EFIs have indicated that if they don't set AppleXcpmCfgLock=True, their rig freezes under heavy CPU load even though it boots fine. If you're looking for a suggestion, I would recommend that you set AppleXcpmCfgLock=True if you can't unlock MSR 0xE2. Link to comment Share on other sites More sharing options...
ghost8282 Posted September 20, 2021 Share Posted September 20, 2021 On 9/18/2021 at 6:26 PM, ghost8282 said: It seems a bug in libvirt or qemu (I suspect libvirt). It's not qemu, nor libvirt....it's OVMF...older versions (1 year ago?) work as expected..it's the second time in one year they break something Going there to see if they can fix it. Link to comment Share on other sites More sharing options...
Recommended Posts