dakanji / RefindPlus

A Boot Manager for Mac and PC
GNU General Public License v3.0
295 stars 64 forks source link

FileVault Encrypted MacOS Mojave Fails to Boot #112

Closed Macschrauber closed 2 years ago

Macschrauber commented 2 years ago

RefindPlus Version

Pre-Release Code Build

Device Type

Apple Mac

Problem Description

I cannot start FileVault'ed Mojave with 13.3AA pre, it goes to the login screen where I can select my username, enter password and then it reboots.

13.3AA Debug and Release, same behaviour

tested on Mac Pro 3.1, Sata SSD on Backplane

I can start my Backup Disk without FileVault with 13.3AA

when swapping to 13.2.AP it works.

Problem Point

After starting a loader or tool

Affected Items

MacOS Loader

Debug Log

DA EDIT: Attach Debug log Instead no filefault 22j28x4727.txt

Additional Context

No response

github-actions[bot] commented 2 years ago

Similarity Analysis

dakanji commented 2 years ago

Just as initial test, try again after uncommenting decline_nvramprotect in the config file

Macschrauber commented 2 years ago

same behaviour

Log Details ``` 0:100 0:100 B E G I N B O O T S T R A P 0:482 0:382 Loading RefindPlus v0.13.3.AA (Pre-Release) on Apple Firmware 0:682 0:200 Arch/Type:- 'x86 (64 bit)' 0:981 0:299 Made With:- 'TianoCore EDK II' 1:282 0:300 Timestamp:- '2022-05-29 12:45:38 (GMT)' 1:481 0:199 System Table:- 'EFI 1.10' (HeaderSize 120) 1:782 0:300 Boot Services:- 'EFI 1.10' (HeaderSize 368 ... 376 CompileSize) 2:082 0:299 Runtime Services:- 'EFI 1.10' (HeaderSize 120 ... 136 CompileSize) 2:474 0:392 DXE Services:- 'Ver 0.90' (HeaderSize 160 ... 168 CompileSize) 2:773 0:299 Non-Volatile Storage: *** QueryVariableInfo is Unavailable *** 3:090 0:316 ConsoleOut Modes: - Mode = Text : YES - Mode = Graphics (UGA) : YES - Mode = Graphics (GOP) : NO 3:604 0:514 Shim:- 'Absent' 3:840 0:236 Secure Boot:- 'Inactive' 4:065 0:224 Apple Framebuffers:- '1' 4:358 0:292 Compat Support Module:- 'Mac-Style' 4:557 0:199 INFO: MOK Protocol ... Not Started 4:838 0:281 INFO: Self Volume:- 'EFI ::: 3C28559C-8F83-4171-B314-3627B1A373A2 ::: 67E317ED-0000-0000-0000-000000000000' Install Dir:- 'EFI\BOOT' 5:142 0:303 R E A D C O N F I G 5:341 0:198 Detected Overrides File - L O A D O V E R R I D E S 5:549 0:208 Config Read:- 'Success' 5:749 0:200 A D J U S T D E F A U L T S E L E C T I O N 6:057 0:307 Changed to Previous Selection:- 'Boot MacOS from Mojave' 6:299 0:242 P R O G R E S S B O O T S T R A P 6:499 0:200 INFO: RefitDBG:- '1' LogLevel:- '0' ScanDelay:- '0' ReloadGOP:- 'YES' SyncAPFS:- 'Active' TagsHelp:- 'Active' TextOnly:- 'Inactive' RescanDXE:- 'Active' DirectGOP:- 'Inactive' DirectBoot:- 'Inactive' ScanAllESP:- 'Inactive' PanicFilter:- 'Active' ProtectNVRAM:- 'Inactive' TextRenderer:- 'Active' NormaliseCSR:- 'Active' RansomDrives:- 'Disabled' SupplyAppleFB:- 'Active' TransientBoot:- 'Inactive' 9:051 2:551 INFO: Supply Support:- 'UEFI : Success' Supply Support:- 'NVME : Already Started' Supply Support:- 'APFS : Already Started' 9:566 0:515 L O A D U E F I D R I V E R S ::::: P R O G R A M D E F A U L T F O L D E R 9:783 0:216 Scan 'EFI\BOOT\drivers' Folder: - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_btrfs.efi' - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_FixPCIeLinkRate.efi' - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_iso9660.efi' - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_reiserfs.efi' - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_ext4.efi' - Success ... UEFI Driver:- 'EFI\BOOT\drivers\x64_ntfs.efi' 10:733 0:950 INFO: Clear Keystroke Buffer ... Already Started 11:026 0:293 L I N K D E V I C E H A N D L E S 11:239 0:212 Handle 0x005 ... Bypassed [Not Linkable] - Not PCIe Device 11:643 0:404 Handle 0x006 ... Bypassed [Not Linkable] - Not PCIe Device 11:842 0:198 Handle 0x007 ... Bypassed [Not Linkable] - Not PCIe Device 12:067 0:224 Handle 0x025 ... Bypassed [Not Linkable] - Not PCIe Device 12:282 0:215 Handle 0x039 * Success - Not PCIe Device 12:484 0:201 Handle 0x03A ... Bypassed [Not Linkable] - Not PCIe Device 12:683 0:199 Handle 0x0D9 ... Skipped [Parent Device] - PCI(00|00:00.0) 13:056 0:372 Handle 0x0DA ... Skipped [Parent Device] - PCI(00|00:01.0) 13:288 0:232 Handle 0x0DB ... Skipped [Parent Device] - PCI(00|00:05.0) 13:491 0:203 Handle 0x0DC ... Skipped [Parent Device] - Monitor Display 13:692 0:200 Handle 0x0DD ... Skipped [Parent Device] - PCI(00|02:00.1) 13:920 0:227 Handle 0x0DE ... Skipped [Parent Device] - PCI(00|00:09.0) 14:117 0:197 Handle 0x0DF ... Skipped [Parent Device] - PCI(00|03:00.0) 14:317 0:200 Handle 0x0E0 ... Skipped [Parent Device] - PCI(00|04:00.0) 14:609 0:291 Handle 0x0E1 ... Skipped [Parent Device] - PCI(00|04:01.0) 14:826 0:216 Handle 0x0E2 ... Skipped [Parent Device] - PCI(00|04:02.0) 15:034 0:208 Handle 0x0E3 ... Skipped [Parent Device] - PCI(00|07:00.0) 15:263 0:229 Handle 0x0E4 ... Skipped [Parent Device] - PCI(00|07:00.1) 15:467 0:203 Handle 0x0E5 ... Skipped [Parent Device] - PCI(00|03:00.3) 15:692 0:224 Handle 0x0E6 ... Skipped [Parent Device] - PCI(00|00:0F.0) 15:984 0:292 Handle 0x0E7 ... Skipped [Parent Device] - PCI(00|00:10.0) 16:184 0:199 Handle 0x0E8 ... Skipped [Parent Device] - PCI(00|00:10.1) 16:384 0:200 Handle 0x0E9 ... Skipped [Parent Device] - PCI(00|00:10.2) 16:584 0:200 Handle 0x0EA ... Skipped [Parent Device] - PCI(00|00:10.3) 16:801 0:216 Handle 0x0EB ... Skipped [Parent Device] - PCI(00|00:10.4) 17:000 0:199 Handle 0x0EC ... Skipped [Parent Device] - PCI(00|00:11.0) 17:201 0:200 Handle 0x0ED ... Skipped [Parent Device] - PCI(00|00:15.0) 17:492 0:291 Handle 0x0EE ... Skipped [Parent Device] - PCI(00|00:15.1) 17:693 0:200 Handle 0x0EF ... Skipped [Parent Device] - PCI(00|00:16.0) 17:893 0:200 Handle 0x0F0 ... Skipped [Parent Device] - PCI(00|00:16.1) 18:092 0:199 Handle 0x0F1 ... Skipped [Parent Device] - PCI(00|00:1B.0) 18:309 0:216 Handle 0x0F2 ... Skipped [Parent Device] - PCI(00|00:1C.0) 18:509 0:200 Handle 0x0F3 ... Skipped [Parent Device] - PCI(00|00:1C.1) 18:824 0:314 Handle 0x0F4 ... Skipped [Parent Device] - PCI(00|00:1C.2) 19:042 0:218 Handle 0x0F5 ... Skipped [Parent Device] - PCI(00|0B:00.0) 19:243 0:200 Handle 0x0F6 ... Skipped [Parent Device] - PCI(00|0C:00.0) 19:468 0:224 Handle 0x0F7 ... Skipped [Parent Device] - PCI(00|00:1C.3) 19:668 0:200 Handle 0x0F8 ... Skipped [Parent Device] - PCI(00|0D:00.0) 19:867 0:199 Handle 0x0F9 ... Skipped [Parent Device] - PCI(00|00:1D.0) 20:068 0:200 Handle 0x0FA ... Skipped [Parent Device] - PCI(00|00:1D.1) 20:359 0:291 Handle 0x0FB ... Skipped [Parent Device] - PCI(00|00:1D.2) 20:560 0:200 Handle 0x0FC ... Skipped [Parent Device] - PCI(00|00:1D.3) 20:759 0:199 Handle 0x0FD ... Skipped [Parent Device] - PCI(00|00:1D.7) 20:959 0:200 Handle 0x0FE ... Skipped [Parent Device] - PCI(00|00:1E.0) 21:160 0:200 Handle 0x0FF ... Skipped [Parent Device] - PCI(00|00:1F.0) 21:372 0:212 Handle 0x100 ... Skipped [Parent Device] - PCI(00|00:1F.1) 21:660 0:287 Handle 0x101 ... Skipped [Parent Device] - PCI(00|00:1F.2) 21:860 0:200 Handle 0x102 ... Skipped [Parent Device] - PCI(00|00:1F.3) 22:076 0:215 Handle 0x108 ... Skipped [Parent Device] - Not PCIe Device 22:291 0:214 Handle 0x109 ... Skipped [Parent Device] - Not PCIe Device 22:523 0:232 Handle 0x10A ... Skipped [Parent Device] - Not PCIe Device 22:742 0:219 Handle 0x10B ... Skipped [Parent Device] - Not PCIe Device 22:868 0:125 Handle 0x10C ... Skipped [Parent Device] - Not PCIe Device 22:993 0:125 Handle 0x10D ... Skipped [Parent Device] - Not PCIe Device 23:068 0:075 Handle 0x10E ... Skipped [Parent Device] - Not PCIe Device 23:134 0:065 Handle 0x10F ... Skipped [Parent Device] - Not PCIe Device 23:218 0:083 Handle 0x110 ... Skipped [Parent Device] - Not PCIe Device 23:310 0:091 Handle 0x112 ... Skipped [Parent Device] - Not PCIe Device 23:393 0:083 Handle 0x113 ... Skipped [Parent Device] - Not PCIe Device 23:510 0:117 Handle 0x114 ... Skipped [Parent Device] - Not PCIe Device 23:576 0:065 Handle 0x115 ... Skipped [Parent Device] - Not PCIe Device 23:643 0:066 Handle 0x116 ... Skipped [Parent Device] - Not PCIe Device 23:710 0:066 Handle 0x117 ... Skipped [Parent Device] - Not PCIe Device 23:777 0:066 Handle 0x118 ... Skipped [Parent Device] - Not PCIe Device 23:843 0:066 Handle 0x119 ... Skipped [Parent Device] - Not PCIe Device 23:910 0:066 Handle 0x11A ... Skipped [Parent Device] - Not PCIe Device 24:018 0:107 Handle 0x11B ... Skipped [Parent Device] - Not PCIe Device 24:085 0:066 Handle 0x11E ... Skipped [Parent Device] - Not PCIe Device 24:152 0:066 Handle 0x121 ... Skipped [Parent Device] - Not PCIe Device 24:218 0:065 Handle 0x122 ... Skipped [Parent Device] - Not PCIe Device 24:291 0:073 Handle 0x123 * Success - Not PCIe Device 24:360 0:069 Handle 0x124 ... Skipped [Parent Device] - Not PCIe Device 24:468 0:108 Handle 0x125 ... Skipped [Parent Device] - Not PCIe Device 24:535 0:066 Handle 0x126 ... Skipped [Parent Device] - Not PCIe Device 24:601 0:065 Handle 0x127 ... Skipped [Parent Device] - Not PCIe Device 24:668 0:066 Handle 0x128 ... Skipped [Parent Device] - Not PCIe Device 24:735 0:066 Handle 0x129 ... Skipped [Parent Device] - Not PCIe Device 24:825 0:089 Handle 0x12A ... Bypassed [Not Linkable] - Not PCIe Device 24:893 0:067 Handle 0x12B ... Skipped [Parent Device] - Not PCIe Device 25:002 0:108 Handle 0x12C ... Skipped [Parent Device] - Not PCIe Device 25:085 0:083 Handle 0x12D ... Skipped [Parent Device] - Not PCIe Device 25:190 0:105 Handle 0x12E * Success - Not PCIe Device 25:259 0:069 Handle 0x12F ... Skipped [Parent Device] - Not PCIe Device 25:326 0:066 Handle 0x130 ... Skipped [Parent Device] - Not PCIe Device 25:393 0:066 Handle 0x131 ... Skipped [Parent Device] - Not PCIe Device 25:519 0:125 Handle 0x132 ... Skipped [Parent Device] - Not PCIe Device 25:617 0:098 Handle 0x133 * Success - Not PCIe Device 25:685 0:067 Handle 0x134 ... Skipped [Parent Device] - Not PCIe Device 25:752 0:067 Handle 0x135 ... Skipped [Parent Device] - Not PCIe Device 25:818 0:065 Handle 0x136 ... Skipped [Parent Device] - Not PCIe Device 25:901 0:083 Handle 0x137 ... Skipped [Parent Device] - Not PCIe Device 25:968 0:066 Handle 0x138 ... Skipped [Parent Device] - Not PCIe Device 26:149 0:180 Handle 0x139 ... Skipped [Parent Device] - Not PCIe Device 26:218 0:069 Handle 0x13A ... Skipped [Parent Device] - Not PCIe Device 26:301 0:083 Handle 0x13B ... Bypassed [Not Linkable] - Not PCIe Device 26:368 0:066 Handle 0x13C ... Bypassed [Not Linkable] - Not PCIe Device 26:435 0:066 INFO: Could Not Find Path to GOP on Any Device Handle Processed 96 Handles ... Devices:- 'Present' 26:577 0:141 INFO: Amend System Table ... Already Started Acquire OptionROM on Volatile Storage ... Not Found Restore System Table ... Not Started 26:710 0:132 E X A M I N E A V A I L A B L E V O L U M E S 26:785 0:075 PARTITION TYPE GUID PARTITION GUID PARTITION TYPE VOLUME UUID VOLUME ROLE VOLUME NAME 26:869 0:083 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 26:977 0:108 C12A7328-F81F-11D2-BA4B-00A0C93EC93B : 1DEFCF3C-D211-4182-91C3-2CBB37743F79 : FAT : 67E317ED-0000-0000-0000-000000000000 : * ESP : EFI 27:043 0:066 7C3457EF-0000-11AA-AA11-00306543ECAC : 6ADB79BB-7A8D-4DC6-8ED7-0742957B4B5F : APFS : 00000000-0000-0000-0000-000000000000 : 0xEE - Not Set : APFS/FileVault Container 27:151 0:108 7C3457EF-0000-11AA-AA11-00306543ECAC : 6ADB79BB-7A8D-4DC6-8ED7-0742957B4B5F : APFS : B8CD2844-60D2-456A-8799-5D847D36E6C3 : 0x10 - PreBoot : PreBoot 27:219 0:067 7C3457EF-0000-11AA-AA11-00306543ECAC : 6ADB79BB-7A8D-4DC6-8ED7-0742957B4B5F : APFS : 23127A56-98B6-49D7-9BAF-0E6A2928C527 : 0x00 - Undefined : Mojave 27:285 0:066 7C3457EF-0000-11AA-AA11-00306543ECAC : 6ADB79BB-7A8D-4DC6-8ED7-0742957B4B5F : APFS : FAED3E94-799C-4AD1-BF4A-04778C6A89BC : 0x04 - Recovery : Recovery 27:394 0:109 7C3457EF-0000-11AA-AA11-00306543ECAC : 6ADB79BB-7A8D-4DC6-8ED7-0742957B4B5F : APFS : 059AD566-1756-454E-826B-A657F7E983C3 : 0x08 - VM : VM 27:468 0:074 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 27:594 0:125 00000000-0000-0000-0000-000000000000 : 92A6C61F-7130-49B9-B05C-8D7E7B039127 : FAT : BC08F8CF-0000-0000-0000-000000000000 : : FAT Volume 27:685 0:090 00000000-0000-0000-0000-000000000000 : 92A6C61F-7130-49B9-B05C-8D7E7B039127 : Unknown : 00000000-0000-0000-0000-000000000000 : : Unknown Volume 27:785 0:099 00000000-0000-0000-0000-000000000000 : 92A6C61F-7130-49B9-B05C-8D7E7B039127 : Ext4 : CB8615AA-A42C-A641-8CB5-F8B82B6D2503 : : Ext4 Volume 27:919 0:133 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 28:002 0:083 C12A7328-F81F-11D2-BA4B-00A0C93EC93B : 3C28559C-8F83-4171-B314-3627B1A373A2 : FAT : 67E317ED-0000-0000-0000-000000000000 : * ESP : EFI 28:077 0:074 48465300-0000-11AA-AA11-00306543ECAC : 2B664585-DB0E-4D7F-9A6D-C52A90BB0747 : HFS+ : 00000000-0000-0000-0000-000000000000 : : Yosemite 28:185 0:108 426F6F74-0000-11AA-AA11-00306543ECAC : 05D0D218-E8FA-409B-81F7-67BC80EFEC05 : HFS+ : 00000000-0000-0000-0000-000000000000 : * HFS Recovery : Recovery HD 28:268 0:083 48465300-0000-11AA-AA11-00306543ECAC : ABBB345B-A693-48F8-B689-4276F7C01DEB : HFS+ : 00000000-0000-0000-0000-000000000000 : : Lion 28:385 0:116 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 28:452 0:067 C12A7328-F81F-11D2-BA4B-00A0C93EC93B : A8C5ED1C-6D91-4E89-9184-EFCC7210166A : FAT : 67E317ED-0000-0000-0000-000000000000 : * ESP : EFI 28:577 0:124 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 : B899679F-5298-4DF3-A838-5A43ECDC3454 : NTFS : 66898BE4-89A9-1466-0000-000000000000 : : BOOTCAMP 28:685 0:108 426F6F74-0000-11AA-AA11-00306543ECAC : BC0FD014-62B6-40BC-A9DA-3236AC531DEB : HFS+ : 00000000-0000-0000-0000-000000000000 : * HFS Recovery : Recovery HD 28:752 0:067 48465300-0000-11AA-AA11-00306543ECAC : 461E15CF-7648-46AA-87CC-4CDDF2B29184 : HFS+ : 00000000-0000-0000-0000-000000000000 : : El Capitan 28:860 0:108 426F6F74-0000-11AA-AA11-00306543ECAC : 1D0B0901-A927-47D0-B1E1-DEE5D80EB015 : HFS+ : 00000000-0000-0000-0000-000000000000 : * HFS Recovery : Recovery HD 28:926 0:066 48465300-0000-11AA-AA11-00306543ECAC : 6159EB4A-03C4-4A62-8D11-0959C4FC405F : HFS+ : 00000000-0000-0000-0000-000000000000 : : Inst 10.14.6 18G103 mod 29:018 0:091 48465300-0000-11AA-AA11-00306543ECAC : 2A427E1D-D227-46F2-BB1D-5933C786EC28 : HFS+ : 00000000-0000-0000-0000-000000000000 : : Install macOS Big Sur 29:145 0:126 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 29:237 0:091 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Whole Disk : 00000000-0000-0000-0000-000000000000 : : Whole Disk Volume 29:344 0:107 00000000-0000-0000-0000-000000000000 : 00000000-0000-0000-0000-000000000000 : Optical Drive : 00000000-0000-0000-0000-000000000000 : : Optical Disc Drive PARTITION TYPE GUID PARTITION GUID PARTITION TYPE VOLUME UUID VOLUME ROLE VOLUME NAME 29:526 0:182 INFO: Enumerated 28 Volumes 29:594 0:067 ReMap APFS Volume Groups: - System Volume:- 'Mojave' 29:736 0:141 INFO: ReMapped 1 Volume Group 29:802 0:065 I N I T I A L I S E G R A P H I C S 29:868 0:066 Check for Graphics: - Seek Console Control * Seek on ConsoleOut Handle ... Success - Assess Console Control ... ok - Seek Universal Graphics Adapter * Seek on ConsoleOut Handle ... Success - Assess Universal Graphics Adapter ... ok - Seek Graphics Output Protocol * Seek on ConsoleOut Handle ... Not Supported * Seek on Handle Buffer ... Not Found - Assess Graphics Output Protocol ... NOT FOUND!! 30:318 0:450 INFO: Graphics Output Protocol ... Not Found 30:385 0:066 INFO: Implement UGA Pass Through ... Not Started 30:460 0:075 INFO: GOP Not Available ... Fall Back on UGA Implement Text Renderer ... Not Started Graphics Available:- 'Yes' 30:735 0:275 S H O W T I T L E B A N N E R 30:827 0:091 Sync Resolution: 30:908 0:081 Graphics Screen Mode Active ... Prepare Title Banner Display: - Graphics Mode Resolution:- '1920 x 1200' * LoDPI Mode ... Maintain Icon Scale 31:060 0:152 Refresh Screen: - Get Banner * Default Title Banner Colour (Mode) ... R G B Colour (Base) ... 191 191 191 Colour (Text) ... 0 0 0 - Scale Banner - Clear Screen - Show Banner 31:479 0:419 INFO: Displayed Title Banner 31:544 0:064 S E E K U E F I L O A D E R S 31:627 0:083 Scan Manual: - Found 'OpenCore (Default: iMac15,1 for Nvidia DRM)' on 'EFI' - Found 'OpenCore (OC_ALT: Installs/Updates or HiSierra/Older)' on 'EFI' - Found 'OpenCore (OC_LEG: iMac15,1 for BigSur/Older)' on 'EFI' 31:860 0:233 Scan External: 31:927 0:066 Scan External (Legacy): 31:994 0:066 Scan Optical: 32:061 0:066 Scan Optical (Legacy): 32:128 0:066 Scan Internal: - Found 'MacOS' on 'Mojave' - Found 'boot\vmlinuz-5.4.0-91-generic' on 'Ext4 Volume' - Found 'MacOS' on 'Yosemite' - Found 'MacOS' on 'El Capitan' - Found 'MacOS' on 'Inst 10.14.6 18G103 mod' 33:661 1:533 Scan Internal (Legacy): - Found 'Linux (Legacy)' on 'Whole Disk Volume' - Found 'Windows (Legacy)' on 'BOOTCAMP' - Found 'Linux (Legacy)' on 'Whole Disk Volume' 33:878 0:216 A S S I G N S H O R T C U T K E Y S 33:945 0:066 Set Shortcuts: - Set Key '1' to Run Loader:- 'Boot OpenCore (Default: iMac15,1 for Nvidia DRM) from EFI' - Set Key '2' to Run Loader:- 'Boot OpenCore (OC_ALT: Installs/Updates or HiSierra/Older) from EFI' - Set Key '3' to Run Loader:- 'Boot OpenCore (OC_LEG: iMac15,1 for BigSur/Older) from EFI' - Set Key '4' to Run Loader:- 'Boot MacOS from Mojave' - Set Key '5' to Run Loader:- 'Boot boot\vmlinuz-5.4.0-91-generic from Ext4 Volume' - Set Key '6' to Run Loader:- 'Boot MacOS from Yosemite' - Set Key '7' to Run Loader:- 'Boot MacOS from El Capitan' - Set Key '8' to Run Loader:- 'Boot MacOS from Inst 10.14.6 18G103 mod' - Set Key '9' to Run Loader:- 'Boot Linux (Legacy) from Whole Disk Volume' - Set Key '0' to Run Loader:- 'Boot Windows (Legacy) from BOOTCAMP' 34:461 0:516 INFO: Assigned Shortcut Keys to 10 of 11 Loaders 34:544 0:083 S E E K U E F I T O O L S 34:652 0:107 Get UEFI Tool Types: - Type 01 ... Added Tool:- 'About RefindPlus' - Type 02 ... *_ WARN _* Could Not Find Tool:- 'Toggle CSR' - Type 03 ... *_ WARN _* Could Not Find Tool:- 'UEFI Shell' - Type 04 ... Added Tool:- 'Clean Nvram' - Type 05 ... Added Tool:- 'Hidden Tags' - Type 06 ... Added Tool:- 'Manage Firmware Boot Order' - Type 07 ... Added Tool:- 'System Restart' - Type 08 ... Added Tool:- 'System Shutdown' 35:620 0:967 INFO: Processed 8 Tool Types 35:686 0:065 I N I T I A L I S E P O I N T E R D E V I C E S 35:752 0:066 Close Existing Pointer Protocols: - Detected Touch Mode or 'No Mouse' Mode 35:853 0:100 Pointer Devices Initialised 35:920 0:066 R U N M A I N L O O P 35:986 0:065 INFO: Loaded RefindPlus v0.13.3.AA (Pre-Release) on Apple Firmware Configured Default Loader:- 'Boot MacOS from Mojave' Highlighted Screen Option:- 'Boot MacOS from Mojave' 36:161 0:175 INFO: Clear Keystroke Buffer ... Already Started 39:492 3:330 Received User Input: - Load MacOS Instance from 'Mojave' * Normalise CSR ... Bad Buffer Size 39:695 0:203 EFI File is Valid ... Loading <<----- * ----->> ```
dakanji commented 2 years ago

Ok. Will look at it properly and get back.

BTW, you can just drag and drop the log file (or any other supported file type) into the field to attach it

Macschrauber commented 2 years ago

Interesting: if I start FileVault Mojave via OpenCore (your instances as well as OCLP 0.46 chainloaded thru RP 0.13AA it hangs after entering the FileVault password.

EndUnlockCoreStorageVolumekey Start SetConsoleMode End SetConsoleMode Start OpenKernelRootVolume En OpenKernelRootVolume Start LoadKernelFronStream EndLoadKerne(FromStream Start InitBootStruct root device uuid is *23127R56-98B6-49D7-9BAF-OE6R2928C527" End InitBootStruct Start LoadRAMDisk End LoadRAMDisk Start FinalizeBootStruct, Start RandonSeed End RandomSeed

is the onscreen message before hanging.

dakanji commented 2 years ago

I just struck me that I did not intend to attach 0.13.3.AA to MyBootMgr 080a and not sure about the state of the file as it was probably some test version.

Try X242 (current code) to get bearings back X242-BOOTx64.zip

Macschrauber commented 2 years ago

X242 hangs, does not reboot with FileVault Mojave:

this is the text after the password was given:

Start ErILibNamedEventSignal for gAppleEf1Log nWindoNExitGuld EndUnlockCoreStorageVolumekey Start SetConsoleMode End SetConsolehode Start OpenkernelRootVolume End OpenKerne IRootVolume Start ReadkerneICache EndReadKerneICache Start UncompressKerne1Cache EndUncompressKerne1Cache Start CalculateAdler32 End CalculateAdler32 Start LoadKernelFronStrean EndLoadKernelFronStrean Start InitBootStruct root device uuid 1s '23127A56-98B6-49D7-9BAF-OE6A29280527 ® End InitBootStruct Start LoadRAMDisk EndLoadRAMDisk Start FinalizeBootStruct Start RandonSeed End RandonSeed

Macschrauber commented 2 years ago

here's the log (the text before was per picture to text from ios device)

22j29x3247.log

dakanji commented 2 years ago

Okay. Do not boot with X242 again as the log has an odd Bad Buffer Size item which I need to look into. Go back to the previous file and run that with decline_uefiemulate.

WIll pick things up tomorrow as late for me.

Macschrauber commented 2 years ago

same with decline_uefiemulate, FileVault Mojave per RP0.13AA reboots after FileVault password was given. This is no problem for me, just want to help debugging. I can easily use 13.2AP.

22j29y4038.log

dakanji commented 2 years ago

Thanks. I know.

Was actually concerned about something happening to the BootROM as was not sure whether that ws a message from the NVRAM.

There is a separate (possibly connected) issue which I need to look into further:

     - Type 02 ... *_ WARN _*    Could Not Find Tool:- 'Toggle CSR'
     - Type 03 ... *_ WARN _*    Could Not Find Tool:- 'UEFI Shell'

       * Normalise CSR ... Bad Buffer Size

Seems the buffer size message is related to not finding the Toggle CSR tool and not the NVRAM getting hosed in the end. Something got messed up there as is an internal tool that doesn't need finding.

Restore the config items disabled before and try X243 X243-BOOTx64.zip

Goes back towards the last release to try to catch the breaking commit. Will check in tomorrow

dakanji commented 2 years ago

Waiting for feedback on X243

On these:

     - Type 02 ... *_ WARN _*    Could Not Find Tool:- 'Toggle CSR'

       * Normalise CSR ... Bad Buffer Size

Had a quick initial look at the code and found the following:

Macschrauber commented 2 years ago

I am not at the Mac Pro 3,1 but tested 0.13.AA pre on my 5.1 almost same behaviour, FileVault Mojave hangs after password, on 3.1 it rebooted

log for 0.13AA (hangs after FV Mojave): 22j30s1059.log

X243 is working on MP5.1, boots FileVault Mojave. Tested 0.13AA on MP5.1 only to validate the test.

log for X243 (boots FV Mojave): 22j30s1909.log

dakanji commented 2 years ago

Thanks. Just out of curiosity, can you share a log from 0.13.2.AP?

Macschrauber commented 2 years ago

sure, this is 0.13.2.AP booting FV Mojave 22j30t5234.log

dakanji commented 2 years ago

Thanks. Lets see with X244 X244-BOOTx64.zip

Macschrauber commented 2 years ago

x244 hangs booting FV Mojave 22j30w2030.log

dakanji commented 2 years ago

OK. Thanks. Will pick it up tomorrow.

dakanji commented 2 years ago

Please test X245 when you have a min X245-BOOTx64.zip

Macschrauber commented 2 years ago

End UnlockCoreStorageVolumekey Start DrawBootGraphics

after FV password and then it hangs 22j31j4950.log

dakanji commented 2 years ago

Thanks. Please test X246 X246-BOOTx64.zip

Macschrauber commented 2 years ago

same as 245

after FV password it hangs

22j31v0445.log

dakanji commented 2 years ago

Thanks. Confirms the breaking commit Please try X247 with an attempt at a fix X247-BOOTx64.zip

Macschrauber commented 2 years ago

X247 works, starts FV Mojave 22j31y2130.log

Macschrauber commented 2 years ago

but something strange happened to nvram boot-args:

nvram boot-args
boot-args   -a n_optcek -no_compat_check
ariable: 7c436110-ab2a-4bbb-a880-fe41995c9f82:boot-args (Apple Boot Variable)
StartID:  55aa (Valid)
State:    7f (Normal)
Unknown8: 00
Attr:     00000007 (NON_VOLATILE, BOOT_SERVICE_ACCESS, RUNTIME_ACCESS)
NameSize: 20
DataSize: 29
DataType: looks like NULL-terminated ASCII
Data:
00000000: 2d 61 20 6e 5f 6f 70 74 63 65 6b 20 2d 6e 6f 5f  -a n_optcek -no_
00000010: 63 6f 6d 70 61 74 5f 63 68 65 63 6b 00           compat_check.   

--------

Variable: 7c436110-ab2a-4bbb-a880-fe41995c9f82:boot-args (Apple Boot Variable)
StartID:  55aa (Valid)
State:    7d (DELETED)
Unknown8: 00
Attr:     00000007 (NON_VOLATILE, BOOT_SERVICE_ACCESS, RUNTIME_ACCESS)
NameSize: 20
DataSize: 9
DataType: looks like NULL-terminated ASCII
Data:
00000000: 2d 6f 63 6d 61 5f 68 63 00                       -ocma_hc.   

Variable: 7c436110-ab2a-4bbb-a880-fe41995c9f82:boot-args (Apple Boot Variable)
StartID:  55aa (Valid)
State:    7d (DELETED)
Unknown8: 00
Attr:     00000007 (NON_VOLATILE, BOOT_SERVICE_ACCESS, RUNTIME_ACCESS)
NameSize: 20
DataSize: 22
DataType: looks like NULL-terminated ASCII
Data:
00000000: 2d 63 61 68 20 2d 6e 6f 5f 63 6f 6d 70 61 74 5f  -cah -no_compat_
00000010: 63 68 65 63 6b 00                                check.     

also I can not read bless --getboot

sudo bless --getboot
Password:
Boot option does not match XML representation
XML representation doesn't match true boot preference
dakanji commented 2 years ago

So what was happening was that an attempt was made to add partial emulation of QueryVariableInfo here: https://github.com/dakanji/RefindPlus/commit/a1e97ab7423f79e2524d2f29bbf579b9bbc8edcd but it seems FileVault did not like that or how it was done. So I have removed this altogether as it was just a nice to have thing.

On the NVRAM stuff, I don't know what that is about but there have been some oddities in your logs. The 2 byte CSR entry when the inherited code expects 4 bytes and I am informed the kernel mandates 4 bytes. I had disabled the 4 byte check in X247 and was going to go with that but on second thoughts, it is best to leave it in until this aspect is clear as it may be impacting some other stuff.

Additionally, some of your boots have been showing a funny behaviour. An OS Loader boot should be a one-way trip but sometimes, your logs show that it returns to RP and then something else that looks like a preboot loader is automatically booted. This is quite odd and I don't quite understand what is happening with that.

I think the best thing is to clear your NVRAM or better still, flash a clean version in.

X248 restores the 4 byte check and has some other clean up which may avoid the issue or at least log the area around the boot cleanly: X248-BOOTx64.zip

Macschrauber commented 2 years ago

had already cleaned it and now have an eye on it. Just recognised it because the blessing reacted odd. I have a RX560 in the box without UGA Bootscreen. Therefore is an OpenCore CD in what I can start with the C-Key as a failback when RP hangs.

Got back to RP013..2AP for a few reboots to double check things with the nvram before I try X248.

Remember, the same problem is with the other machine, the MP3,1 (what I have no access to for a week or so).

Macschrauber commented 2 years ago

just for the record:

nvram boot-args boot-args -no_compat_check $ sudo bless --getboot /dev/disk1s1

now with 013.2.AP

Macschrauber commented 2 years ago

tested x248,

works, boots FV Mojave

But did something with boot-args, I checked before, it was just "-no_compat_check"

after booting with x248 it was just "-ocma_hc"

blessing in nvram was unchanged. 22k01s1145.log

Macschrauber commented 2 years ago

set boot-args back to "-no_compat_check", read it out, was correct.

booted a second time with X248, read it out, now it was "-cah -no_compat_check"

dakanji commented 2 years ago

The boot args item is a separate issue related to handling ascii strings. This has been fixed but not yet pushed. You can bypass it for now by not activating disable compat check

dakanji commented 2 years ago

Hi ... can you try X249? X249-BOOTx64.zip

Includes most of the needed fixes such as the ascii string handling which needs testing.

Also found the reason for this:

An OS Loader boot should be a one-way trip but sometimes, your logs show that it returns to RP and then something else that looks like a preboot loader is automatically booted.

If no issues arise, I will clean and push the fixes later

PS: Seems the 2-byte csr-active-config has gone with the NVRAM clean as Bad Buffer Size did not show up although the filter was back in place.

Macschrauber commented 2 years ago

ok, X249 booted FV Mojave

I switched disable_compat_check off

Odds:

at first start I got an extra chime and a shutdown (guess: invalid platform for Big Sur disk what my system finds on 1st position) - so still it does something with blessing bootx64.efi in nvram.

at 2nd start via the OC rescue cd it booted FV Mojave, boot-args was empty as expected.

I blessed RP, switched on disable_compat_check and booted again FV Mojave. This time boot-args was set correctly, "-no_compat_check" only, no strange 2nd string.

22k01z0548.log 22k01z0112.log 22k01z0018.log

So after all it works but it does something with blessing the bootloader. Glad I had the OC Rescue CD in the drive, if not I had to fiddle a bit to get RP blessed again.

No bootscreen GPU is in the box, this is something I need to get used to. I try to hold on not swapping the GPU as the typical user can't do it neither.

dakanji commented 2 years ago

Thanks. I'll wrap things up and push later.