Jump to content
ErmaC

Clover Problems and Solutions

3,029 posts in this topic

Recommended Posts

Please be advised that this is not a discussion topic.

 



This topic is a "direct" line of communication between the Developers of Clover (Clover Team).
Unless a Developer/Coder asks for more information, all the critical information of a post should be contained in the subject and first post.
Every post will be responded to in some fashion before being locked.

 

 

 


 


Invalid Posts
Since we are strictly interested in issue reports on this topic, the following post/reply are likely to be deleted immediately:
1. Discussion topic aka OFF-TOPIC (What do you all think?)
2. Invalid issue reports
3. Feedback / Suggestion threads.
4. Posts requesting information about the bootloader.
5. Posts made on other forums (Don't spam.)
6. "Accomplishment" threads, threads to advertise screenshots unrelated to bug reports.
7. Posts requesting status updates on existing issues.

 

 

Share this post


Link to post
Share on other sites
Advertisement

Looks like config.plist/SystemParameters/InjectKexts=Detect is broken.

 

Details:

- config.plist/SystemParameters/InjectKexts=Detect

- FakeSMC.kext installed to /S/L/E

- pressing spacebar on my Yosemite partition shows option for "without kexts"... should be showing option for "with kexts"

- booting normally will inject kexts from Clover/kexts (in Clover bootlog)

- booting "without kexts" works... as FakeSMC.kext *is* installed in /S/L/E and is in the cache

- setting KernelAndKextPatches/Debug=true reveals that Clover is finding FakeSMC present in the cache

 

This used to work, but I'm not sure how long it is broken.

 

No custom entries involved here, although it can be fixed with them (eg. set InjectKexts=false for system partition, true for Recovery)

 

Clover r3206 UEFI built from source.

Share this post


Link to post
Share on other sites

...

if you have FakeSMC in S/L/E you have to have kext-dev-mode=1 in your config.plist arguments, but my main question is why use S/L/E for any kext when you can have Clover inject itself

Share this post


Link to post
Share on other sites

if you have FakeSMC in S/L/E you have to have kext-dev-mode=1 in your config.plist arguments, but my main question is why use S/L/E for any kext when you can have Clover inject itself

I have kext-dev-mode=1 and I'm well aware of its purpose.

 

My bug report has nothing to do with kext-dev-mode=1. It has to do with the fact that InjectKexts=Detect is broken.

 

Kext injection should be used only when necessary (installer/recovery). So... I install everything to /S/L/E where it can go to kernel cache. Note also there are are many kexts which do not work when injected.

Share this post


Link to post
Share on other sites

Looks like config.plist/SystemParameters/InjectKexts=Detect is broken.

 

Details:

...

 

 

Do you maybe remember which was the last build you tried that still worked? Would make it easier to track what has changed since then.

Share this post


Link to post
Share on other sites

Do you maybe remember which was the last build you tried that still worked? Would make it easier to track what has changed since then.

Unfortunately not. I could go back and see if I can find one...

 

But I've been using custom entries with InjectKexts explicitly set (true/false) so I didn't notice the problem until troubleshooting a machine not my own.

 

I went back to as far as r2812 and it is still broken there.

 

I was reviewing the code and I can see where it clears the flag:

VOID CheckForFakeSMC(CHAR8 *InfoPlist, LOADER_ENTRY *Entry)
{
  if (OSFLAG_ISSET(Entry->Flags, OSFLAG_CHECKFAKESMC) &&
      OSFLAG_ISSET(Entry->Flags, OSFLAG_WITHKEXTS)) {
    if (AsciiStrStr(InfoPlist, "<string>org.netkas.driver.FakeSMC</string>") != NULL
        || AsciiStrStr(InfoPlist, "<string>org.netkas.FakeSMC</string>") != NULL)
    {
      Entry->Flags = OSFLAG_UNSET(Entry->Flags, OSFLAG_WITHKEXTS);
      if (Entry->KernelAndKextPatches->KPDebug) {
        DBG_RT(Entry, "\nFakeSMC found\n");
        gBS->Stall(5000000);
      }
    }
  }
}
The "FakeSMC found" trace... I am seeing that, so we know this code is executing.

 

I also see this executed (I see the 'disabled because... Detect' trace):

    //
    // Kext add
    //
    if (Entry != 0 && OSFLAG_ISSET(Entry->Flags, OSFLAG_CHECKFAKESMC) && OSFLAG_ISUNSET(Entry->Flags, OSFLAG_WITHKEXTS)) {
        // disable kext injection if FakeSMC is already present
        Entry->Flags = OSFLAG_UNSET(Entry->Flags, OSFLAG_WITHKEXTS);
        if (Entry->KernelAndKextPatches->KPDebug) {
            DBG_RT(Entry, "\nInjectKexts: disabled because FakeSMC is already present and InjectKexts option set to Detect\n");
            gBS->Stall(500000);
        }
    }
Never mind that the line 'Entry->Flags = OSFLAG_UNSET(Entry->Flags, OSFLAG_WITHKEXTS);' is not needed since we just checked 'OSFLAG_ISUNSET(Entry->Flags, OSFLAG_WITHKEXTS)' in the conditional (eg. the flag is already cleared).

 

The mystery is why when we reach LoadKexts, the flag is set:

EFI_STATUS LoadKexts(IN LOADER_ENTRY *Entry)
{
...
	if ((Entry == 0) || OSFLAG_ISUNSET(Entry->Flags, OSFLAG_WITHKEXTS)) {
		return EFI_NOT_STARTED;
	}
There is some code that duplicates the "main" entry to a subentry. Each of these subentries have their own "Flags", and from what I can tell these subentries will not be modified by this code, so perhaps Clover is actually booting from the subentry, not the main entry?

 

Note (loader.c):

  // default entry
  SubEntry = DuplicateLoaderEntry(Entry);
  if (SubEntry) {
    SubEntry->me.Title = (Entry->LoaderType == OSTYPE_OSX ||
                          Entry->LoaderType == OSTYPE_OSX_INSTALLER ||
                          Entry->LoaderType == OSTYPE_RECOVERY) ?
    L"Boot Mac OS X" : PoolPrint(L"Run %s", FileName);
    AddMenuEntry(SubScreen, (REFIT_MENU_ENTRY *)SubEntry);
  }
Edit: Debugging further. LoadKexts is called before CheckForFakeSMC is called...

 

No idea if there is a difference between "loading kexts" and "injecting kexts". Perhaps in the case of "Detect" kexts are loaded but never injected. The bootlog looks the same in either case:

 

InjectKexts=Detect (FakeSMC in cache)

5:149  0:000  FSInjection: using kexts path: 'EFI\CLOVER\kexts\10.10'FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: B6B2598
5:149  0:000  
5:151  0:001  MSR 0x1B0   set to        00000000
15:152  10:001  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.10
15:155  0:002    Extra kext: EFI\CLOVER\kexts\10.10\AppleIntelE1000e.kext
15:160  0:005    Extra kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext
15:165  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext
15:168  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext
15:172  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext
15:175  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext
15:183  0:007    Extra kext: EFI\CLOVER\kexts\10.10\GenericUSBXHCI.kext
15:187  0:004  Removed efi-boot-device-data variable: Not Found
15:187  0:000  Custom boot is disabled
15:187  0:000  Closing log
InjectKexts=Yes

6:370  0:000  FSInjection: using kexts path: 'EFI\CLOVER\kexts\10.10'FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: B6B2598
6:371  0:000  
6:373  0:001  MSR 0x1B0   set to        00000000
16:374  10:001  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.10
16:376  0:002    Extra kext: EFI\CLOVER\kexts\10.10\AppleIntelE1000e.kext
16:381  0:004    Extra kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext
16:386  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext
16:389  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext
16:392  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext
16:396  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.10\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext
16:404  0:007    Extra kext: EFI\CLOVER\kexts\10.10\GenericUSBXHCI.kext
16:408  0:004  Removed efi-boot-device-data variable: Not Found
16:408  0:000  Custom boot is disabled
16:408  0:000  Closing log
InjectKexts=No

5:191  0:000  FSInjection: skipping kext injection (not requested)FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: B6B2598
5:192  0:000  
5:193  0:001  MSR 0x1B0   set to        00000000
15:195  10:001  Removed efi-boot-device-data variable: Not Found
15:195  0:000  Custom boot is disabled
15:195  0:000  Closing log
Expect: Bootlog with InjectKexts=Detect (and FakeSMC in cache) would look like InjectKexts=No.

Share this post


Link to post
Share on other sites

Never saw this thread before, but since I have a bug report I'll just re-report it here.

 

Theme=embedded + Timeout=0 == autoboot breaks (default entry highlighted but I need to press enter to boot)

TextOnly=True + Timeout=0 == same

 

Theme=embedded + Timeout=5 == WORKS

Theme=iClover + Timeout=0 == WORKS

 

 

0:100  0:100  MemLog inited, TSC freq: 2294785194
0:100  0:000  LegacyRegion2: Chipset/proc: 0x01048086
0:100  0:000   Next Generation Core processors (PAM 0x80-0x86)
0:100  0:000   Test PAM1=(0x41=90, 0x5a=00, 0x81=11, 0x91=00) at chipset 01048086
0:100  0:000  , Install = Success
0:114  0:014  VGA Pci.Hdr.Command=6 - not enabled
0:114  0:000  BiosVideoDriverBindingStart!
0:114  0:000  BiosVideoCheckForVbe
0:114  0:000  EdidOverride not found
0:127  0:012   Edid1+
0:127  0:000   found Detail Timing 1366x768
0:127  0:000   found Detail Timing 1366x768
0:127  0:000  timing string after 0xFE:4Y4GM?156AT
 
0:139  0:012   Edid0+
0:139  0:000   found Detail Timing 1366x768
0:139  0:000  ... already present
0:139  0:000   found Detail Timing 1366x768
0:139  0:000  ... already present
0:139  0:000  timing string after 0xFE:4Y4GM?156AT
 
0:140  0:000     0 1024x768 attr=9B - ok, edid-, 1024x768, working, highest, pref=0
0:140  0:000     1 640x480 attr=9B - ok, edid-, 640x480, working
0:140  0:000     2 800x600 attr=9B - ok, edid-, 800x600, working
0:140  0:000     3 1366x768 attr=9B - ok, edid+, working, highest, pref=3
0:140  0:000  BV new mode: 3 1366x768
0:277  0:137   SetMode pref 3 (3) = Success
0:278  0:000  VGA Pci.Hdr.Command=6 - not enabled
0:363  0:084  VGA Pci.Hdr.Command=6 - not enabled
0:368  0:005  VGA Pci.Hdr.Command=6 - not enabled
0:369  0:001  Found supported controller for BiosBlockIO class=010601
0:369  0:000  Int13Extensions: INT 13 41 DL=80 : CF=0 BX=AA55 CX=0001
0:369  0:000  GetDriveParameters: INT 13 48 DL=80 : CF=0 AH=00
0:369  0:000  BlockSize = 512  LastBlock = 976773167
0:372  0:002  Int13Extensions: INT 13 41 DL=F2 : CF=0 BX=AA55 CX=0005
0:372  0:000  GetDriveParameters: INT 13 48 DL=F2 : CF=0 AH=00
0:372  0:000  BlockSize = 2048  LastBlock = -1
0:600  0:228  VGA Pci.Hdr.Command=6 - not enabled
0:955  0:354  
0:955  0:000  Now is 14.5.2015,  15:36:27 (GMT+2047)
0:955  0:000  Starting Clover rev 3202 on CLOVER EFI
0:955  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,8A941F7C-3F7C-48D0-AD86-1B8BA302E4E4,0x28,0x64000) @1F43BC98
0:955  0:000  SelfDirPath = \EFI\CLOVER
0:955  0:000  Total Memory Slots Count = 2
0:955  0:000  Type 17 Index = 0
0:955  0:000  Table has error information, checking
0:955  0:000  Ignoring insane frequency value 0MHz
0:955  0:000  SmbiosTable.Type17->Speed = 0MHz
0:955  0:000  SmbiosTable.Type17->Size = 0MB
0:955  0:000  SmbiosTable.Type17->Bank/Device = BANK 0 DIMM_A
0:956  0:000  Type 17 Index = 1
0:956  0:000  Table has error information, checking
0:956  0:000  SmbiosTable.Type17->Speed = 1333MHz
0:956  0:000  SmbiosTable.Type17->Size = 4096MB
0:956  0:000  SmbiosTable.Type17->Bank/Device = BANK 2 DIMM_B
0:956  0:000  Boot status=0
0:956  0:000  Clover revision: 3202  running on Inspiron N5110
0:956  0:000  ... with board 0FXK2Y
0:956  0:000  CPU Vendor = 756E6547 Model=206A7
0:956  0:000  The CPU supported turbo
0:956  0:000  BrandString = Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
0:956  0:000  MSR 0xE2 before patch 1E000404
0:956  0:000  MSR 0xE4              00020414
0:956  0:000  MSR 0xCE              00000800_60011700
0:956  0:000  non-usable FLEX_RATIO = 10000
0:956  0:000  corrected FLEX_RATIO = 0
0:956  0:000  MSR 0x1B0             00000000
0:956  0:000  FSBFrequency=100MHz DMIvalue=100000kHz
0:956  0:000  Corrected FSBFrequency=100MHz
0:956  0:000  Vendor/Model/Stepping: 0x756E6547/0x2A/0x7
0:956  0:000  Family/ExtFamily: 0x6/0x0
0:956  0:000  MaxDiv/MinDiv: 23.0/8
0:956  0:000  Turbo: 27/27/27/29
0:956  0:000  Features: 0xBFEBFBFF
0:956  0:000  Threads: 4
0:956  0:000  Cores: 2
0:956  0:000  FSB: 100 MHz
0:956  0:000  CPU: 2300 MHz
0:956  0:000  TSC: 2300 MHz
0:956  0:000  PIS: 400 MHz
0:956  0:000  PCI (00|00:00.00) : 8086 0104 class=060000
0:956  0:000  PCI (00|00:01.00) : 8086 0101 class=060400
0:956  0:000  PCI (00|01:00.00) : 10DE 0DF5 class=030000
0:956  0:000  Found NVidia model=Dell GeForce GT 525M
0:956  0:000  PCI (00|01:00.01) : 10DE 0BEA class=040300
0:956  0:000  PCI (00|00:02.00) : 8086 0116 class=030000
0:956  0:000  Found GFX model=Intel HD Graphics 3000
0:956  0:000  PCI (00|00:16.00) : 8086 1C3A class=078000
0:956  0:000  PCI (00|00:1A.00) : 8086 1C2D class=0C0320
0:956  0:000  PCI (00|00:1B.00) : 8086 1C20 class=040300
0:956  0:000  PCI (00|00:1C.00) : 8086 1C10 class=060400
0:956  0:000  PCI (00|00:1C.01) : 8086 1C12 class=060400
0:956  0:000  PCI (00|05:00.00) : 10EC 8136 class=020000
0:956  0:000  LAN 0, Vendor=10EC, MMIO=D000
0:956  0:000  PCI (00|00:1C.03) : 8086 1C16 class=060400
0:956  0:000  PCI (00|09:00.00) : 168C 002B class=028000
0:956  0:000  PCI (00|00:1C.04) : 8086 1C18 class=060400
0:956  0:000  PCI (00|0B:00.00) : 1033 0194 class=0C0330
0:956  0:000  PCI (00|00:1C.07) : 8086 1C1E class=060400
0:956  0:000  PCI (00|00:1D.00) : 8086 1C26 class=0C0320
0:956  0:000  PCI (00|00:1F.00) : 8086 1C4B class=060100
0:956  0:000  PCI (00|00:1F.02) : 8086 1C03 class=010601
0:956  0:000  PCI (00|00:1F.03) : 8086 1C22 class=0C0500
0:956  0:000  Clover load options size = 0 bytes
0:978  0:021  Using OEM config.plist at path: EFI\CLOVER\config.plist
0:978  0:000  EFI\CLOVER\config.plist loaded: Success
0:986  0:007  Found theme directory: random
0:991  0:005  Loading early settings
0:991  0:000  timeout set to 0
0:991  0:000  Custom boot CUSTOM_BOOT_DISABLED (0x0)
0:991  0:000  Default theme: embedded
0:991  0:000  LoadDrivers() start
0:991  0:000  Loading FSInject-64.efi  status=Success
1:020  0:028  Loading HFSPlus.efi  status=Success
1:020  0:000   - driver needs connecting
1:020  0:000  1 drivers needs connecting ...
1:020  0:000  PlatformDriverOverrideProtocol->GetDriver overriden
1:020  0:000  HFS+ driver loaded 
1:026  0:006  VGA Pci.Hdr.Command=6 - not enabled
1:186  0:159  LoadDrivers() end
1:186  0:000  Console modes reported: 4, available modes:
1:186  0:000    Mode 1: 80x25
1:186  0:000    Mode 3: 100x31
1:186  0:000    Mode 4: 170x40 (current mode)
1:186  0:000  SetScreenResolution: 1366x768 - already set
1:186  0:000  reinit: self device path=PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,8A941F7C-3F7C-48D0-AD86-1B8BA302E4E4,0x28,0x64000)
1:186  0:000   get legacy LAN MAC, 1 card found
1:186  0:000  Legacy MAC address of LAN #0= 18:03:73:53:27:20:
1:186  0:000  ScanSPD() start
1:186  0:000  SMBus CmdReg: 0x3
1:186  0:000  Scanning SMBus [8086:1C22], mmio: 0xF7B05004, ioport: 0xF040, hostc: 0x1
1:186  0:000  Slots to scan [8]...
1:213  0:026  SPD[2]: Type 11 @0x52 
1:222  0:009  Not using XMP because it is not present
1:222  0:000  DDR speed 1333MHz 
1:222  0:000  Slot: 2 Type 24 4096MB 1333MHz Vendor=Hynix Semiconductor PartNo=HMT351S6BFR8C-H9N0 SerialNo=0508040A0803030A 
1:252  0:030  ScanSPD() end
1:262  0:009  Get Acpi Tables List from RSDT:
1:262  0:000   Found table: FACP  WN09 len=132
1:262  0:000   Found table: APIC  WN09 len=114
1:262  0:000   Found table: MCFG  WN09 len=60
1:262  0:000   Found table: SSDT  PtidDevc len=1200
1:262  0:000   Found table: HPET  WN09 len=56
1:262  0:000   Found table: SSDT  Cpu0Ist len=1920
1:262  0:000   Found table: SSDT  CpuPm len=2454
1:262  0:000   Found table: SSDT  SgTabl len=3456
1:262  0:000   Found table: SSDT  OptTabl len=5353
1:262  0:000   Found table: OSFR  M08     len=134
1:262  0:000  Calibrated TSC frequency =2294785194 =2294MHz
1:262  0:000  Loading main settings
1:262  0:000  Dropping 2 tables
1:262  0:000  Drop table 0 signature="SSDT" (54445353) table-id="CpuPm" (0000006D50757043)
1:262  0:000  set table: 54445353,       6D50757043 to drop:  true
1:262  0:000  
1:262  0:000  Drop table 1 signature="SSDT" (54445353) table-id="Cpu0Ist" (0074734930757043)
1:262  0:000  set table: 54445353,   74734930757043 to drop:  true
1:262  0:000  
1:262  0:000  Config set Fixes will override FixMask mask!
1:262  0:000     final mask=00000000
1:262  0:000  Config set EnableC7: +
1:262  0:000  Config set EnableC6: +
1:262  0:000  Config set EnableC4: +
1:262  0:000  Config set EnableC2: +
1:290  0:028  found 8 volumes with blockIO
1:290  0:000   0. Volume:
1:290  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)
1:301  0:011    Result of bootcode detection: bootable unknown (legacy)
1:301  0:000   1. Volume:
1:301  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,F2)
1:301  0:000    found optical drive
1:301  0:000  Detected name 
1:301  0:000    Result of bootcode detection: bootable unknown (legacy)
1:301  0:000   2. Volume:
1:301  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,8A941F7C-3F7C-48D0-AD86-1B8BA302E4E4,0x28,0x64000)
1:302  0:000    Result of bootcode detection: bootable Clover (clover)
1:302  0:000    This is SelfVolume !!
1:302  0:000   3. Volume:
1:302  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(2,GPT,A2B67513-8F9B-4D6D-A4B1-C232D2E3D608,0x64028,0x403B5B0)
1:302  0:000   4. Volume:
1:302  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(3,GPT,39FE376A-5300-40AF-AA42-E152EFDD7D0D,0x409F5D8,0x135F20)
1:303  0:000   5. Volume:
1:303  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(4,GPT,2F3A0E7E-4AC9-4C0C-994A-BC9D60679C92,0x41D54F8,0x30E43308)
1:303  0:000    Result of bootcode detection: bootable Windows (vista,win)
1:303  0:000   6. Volume:
1:303  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(5,GPT,6D359B48-3A3A-4857-AC96-08266B07FE5D,0x35058800,0x40000)
1:303  0:000   7. Volume:
1:303  0:000    PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(6,GPT,2ABF778B-330C-4410-905F-6C9CBD223163,0x35098800,0x52B2800)
1:304  0:000    Result of bootcode detection: bootable Windows (vista,win)
1:304  0:000  PutNvramPlistToRtVars: nvram.plist not found
1:304  0:000   using embedded theme
1:304  0:000  Choosing theme <null string>
1:304  0:000  Custom entries start
1:304  0:000  Custom entries finish
1:304  0:000  Scanning loaders...
1:304  0:000   0: 'Whole Disc Boot' no file system
1:304  0:000   1: '' no file system
1:304  0:000   2: 'EFI'
1:354  0:050      AddLoaderEntry for Volume Name=EFI
1:382  0:027   3: 'Macintosh'
1:408  0:025      AddLoaderEntry for Volume Name=Macintosh
1:440  0:032      Check if volume Is Hibernated:
1:440  0:000      Check sleep image 'by signature':
1:481  0:041      read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
1:481  0:000      using default sleep image name = \private\var\vm\sleepimage
1:496  0:014      Reading first 512 bytes of sleepimage ...
1:502  0:006   OurBlockIoRead: Lba=13CD940, Offset=279B28000 (BlockSize=512)
1:502  0:000   sig lion: 7A7A7A7A
1:502  0:000   sig snow: 0
1:502  0:000   no valid sleep image offset was found
1:502  0:000      Reading completed -> Success
1:502  0:000       sleepimage offset could not be acquired
1:502  0:000       hibernated: no - sign
1:506  0:003   4: 'Recovery HD'
1:520  0:014      AddLoaderEntry for Volume Name=Recovery HD
1:536  0:015   5: 'Legacy HD4' no file system
1:536  0:000   6: 'Legacy HD5' no file system
1:536  0:000   7: 'Legacy HD6' no file system
1:536  0:000  Custom legacy start
1:536  0:000  Custom legacy end
1:536  0:000  Custom tool start
1:536  0:000  Custom tool end
1:536  0:000  GetEfiBootDeviceFromNvram: efi-boot-device-data not found
1:536  0:000  EfiBootVolume not found
1:536  0:000   found entry 1. 'Boot Mac OS X from Macintosh', Volume 'Macintosh', DevicePath 'PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(2,GPT,A2B67513-8F9B-4D6D-A4B1-C232D2E3D608,0x64028,0x403B5B0)\System\Library\CoreServices\boot.efi'
1:536  0:000  DefaultIndex=1 and MainMenu.EntryCount=7
1:639  0:102  GUI ready
3:703  2:063  BootOption of the entry is empty
3:703  0:000  StartLoader() start
3:703  0:000  Finally: Bus=99773kHz CPU=2294MHz
3:703  0:000  Kernel and Kext Patches at 1F7D82F0:
3:703  0:000   Allowed: y
3:703  0:000   Debug: n
3:703  0:000   KernelCpu: n
3:703  0:000   Lapic: n
3:703  0:000   Haswell-E: n
3:703  0:000   AICPUPM: n
3:703  0:000   AppleRTC: y
3:703  0:000   KernelPm: n
3:703  0:000   FakeCPUID: 0x0
3:703  0:000   ATIController: null
3:703  0:000   ATIDataLength: 0
3:703  0:000   0 Kexts to load
3:703  0:000   0 Kexts to patch
3:703  0:000  Loading boot.efi  status=Success
3:872  0:169  GetOSVersion: : 10.10.3
3:872  0:000  insert table 9 for dev 0:0
3:872  0:000  insert table 9 for dev 0:0
3:872  0:000  insert table 9 for dev 0:0
3:872  0:000  Trusting SMBIOS...
3:872  0:000  Detected alternating SMBIOS channel banks
3:872  0:000  Channels: 1
3:872  0:000  Interleave: 0 1 2 3 4 5 6 7
3:872  0:000  SMBIOS Type 17 Index = 0 => 0 0:
3:872  0:000  BANK0 DIMM0 EMPTY
3:872  0:000   partNum=HMT351S6BFR8C-H9  
3:872  0:000  SMBIOS Type 17 Index = 1 => 1 1:
3:872  0:000  BANK0 DIMM1 1333MHz 4096MB
3:872  0:000  mTotalSystemMemory = 4096
3:872  0:000  NumberOfMemoryDevices = 2
3:872  0:000  Type20[0]->End = 0x3FFFFF, Type17[1] = 0x1000
3:872  0:000  Table 131 is present, CPUType=31
3:872  0:000  Change to: 603
3:872  0:000  RSDT 0xCAFAD028
3:872  0:000  FADT from RSDT: 0xCAFAD0F8
3:872  0:000  XSDT 0xCAFAD078
3:872  0:000  FADT from XSDT: 0xCAFB6CA8
3:872  0:000  Xsdt reallocation done
3:872  0:000  old FADT length=F4
3:872  0:000  Found OperationRegion(DEBU, SystemMemory, CAFE7F98, ...)
3:872  0:000  Found OperationRegion(GNVS, SystemMemory, CAFDCE18, ...)
3:873  0:000  Found OperationRegion(EXBU, SystemMemory, CAFE5018, ...)
3:873  0:000  Found OperationRegion(MCHT, SystemMemory, FED10000, ...)
3:873  0:000  Found OperationRegion(RCRB, SystemMemory, FED1C000, ...)
3:873  0:000  Found OperationRegion(CPSB, SystemMemory, CAFF4F98, ...)
3:873  0:000  Found OperationRegion(IGDM, SystemMemory, 0, ...)
3:873  0:000  Found OperationRegion(MBOX, SystemMemory, FE800000, ...)
3:873  0:000  Found OperationRegion(MMBX, SystemMemory, FE800000, ...)
3:889  0:016  DSDT found in Clover volume OEM folder: EFI\CLOVER\ACPI\patched\DSDT.aml
3:892  0:003  Apply DsdtFixMask=0x00000000 old way
3:892  0:000     drop _DSM mask=0xFFFF
3:892  0:000  ========= Auto patch DSDT Starting ========
3:892  0:000  VideoCard devID=0xDF510DE
3:892  0:000  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0
3:892  0:000  VideoCard devID=0x1168086
3:892  0:000  DisplayADR1[1] = 0x20000, DisplayADR2[1] = 0xFFFE
3:892  0:000  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE
3:893  0:000  Found Airport Atheros at 0x1C0003, 0x0, DeviceID=0x002B
3:893  0:000  USBADR[1] = 0x1C0004 and PCIe = 0x0
3:893  0:000  USBADR[2] = 0x1D0000 and PCIe = 0xFFFE
3:893  0:000  first CPU found at 604A offset 604D
3:893  0:000  score candidate at 6046
3:893  0:000  score inserted in acpi_cpu_score _PR_
3:893  0:000  Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 
  within the score: _PR_
3:893  0:000  Found PCIROOTUID = 0
3:893  0:000  ========= Auto patch DSDT Finished ========
3:893  0:000  Drop tables from Xsdt, SIGN=SSDT TableID=CpuPm Length=2454
3:893  0:000   Xsdt has tables count=10 
3:893  0:000   Table: SSDT  CpuPm  2454 dropped
3:893  0:000  corrected XSDT length=108
3:893  0:000  Drop tables from Xsdt, SIGN=SSDT TableID=Cpu0Ist Length=1920
3:893  0:000   Xsdt has tables count=9 
3:893  0:000   Table: SSDT  Cpu0Ist  1920 dropped
3:893  0:000  corrected XSDT length=100
3:893  0:000  Patch table: SSDT  PtidDevc
3:893  0:000   SSDT len = 0x4B0
3:893  0:000  Patch table: SSDT  SgTabl
3:893  0:000   SSDT len = 0xD80
3:893  0:000  Patch table: SSDT  OptTabl
3:893  0:000   SSDT len = 0x14E9
3:893  0:000  Drop tables from Xsdt, SIGN=XXXX TableID= Length=0
3:893  0:000   Xsdt has tables count=8 
3:893  0:000  corrected XSDT length=100
3:893  0:000   CPUBase=0 and ApicCPUBase=1 ApicCPUNum=4
3:893  0:000  Maximum control=0x17
3:893  0:000  Turbo control=0x1D
3:893  0:000  P-States: min 0x8, max 0x1D
3:893  0:000  SSDT with CPU P-States generated successfully
3:893  0:000  SSDT with CPU C-States generated successfully
3:893  0:000  EdidDiscovered size=128
3:893  0:000  00 | 00 FF FF FF FF FF FF 00 4C A3 41 54 00 00 00 00 
3:893  0:000  16 | 00 14 01 04 90 22 13 78 0A C8 95 9E 57 54 92 26 
3:893  0:000  32 | 0F 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 
3:893  0:000  48 | 01 01 01 01 01 01 F5 1D 56 FC 50 00 16 30 30 20 
3:893  0:000  64 | 25 00 58 C2 10 00 00 1A D6 12 56 A0 50 00 16 30 
3:893  0:000  80 | 30 20 25 00 58 C2 10 00 00 1A 00 00 00 FE 00 34 
3:893  0:000  96 | 59 34 47 4D 80 31 35 36 41 54 0A 20 00 00 00 00 
3:893  0:000  112 | 00 00 41 01 96 00 00 00 00 01 01 0A 20 20 00 CF 
3:893  0:000  NVidia GFX injection not set
3:893  0:000  Intel GFX injection not set
3:894  0:000  HDA Controller [8086:1C20] :: PcieRoot(0x0)\Pci(0x1B,0x0) => detected codec: 111D:76D1
3:894  0:000  LAN Controller [10EC:8136] :: PcieRoot(0x0)\Pci(0x1C,0x1)\Pci(0x0,0x0)
3:894  0:000  stringlength = 556
3:894  0:000  CurrentMode: Width=1366 Height=768
3:894  0:000  FSInjection: using kexts path: 'EFI\CLOVER\kexts\10.10'FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 1F43BA98
3:896  0:002  
3:897  0:000  MSR 0x1B0   set to        00000000
3:897  0:000  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.10
3:912  0:014  Removed efi-boot-device-data variable: Not Found
3:912  0:000  Custom boot is disabled
 
3:912  0:000  Closing log

Share this post


Link to post
Share on other sites

another is F3 at clover menu will not "unhide" Recovery partition if you have it hidden.

Are you sure I am not having that particular problem.

Share this post


Link to post
Share on other sites

3206 Timout  not working anymore today !

i try everything as possible I think?  :moil:

One day long and nothing :wallbash: :wallbash:

Share this post


Link to post
Share on other sites

 

Never saw this thread before, but since I have a bug report I'll just re-report it here.

 

Theme=embedded + Timeout=0 == autoboot breaks (default entry highlighted but I need to press enter to boot)

TextOnly=True + Timeout=0 == same

 

<key>Fast<key>

<true/>

and I have no problems.

Share this post


Link to post
Share on other sites

<key>Fast<key>

<true/>

and I have no problems.

That's a workaround, not a fix!! (Might help narrow down possible causes).

 

Anyway, I can't use this because I need the menu for dual booting.

Share this post


Link to post
Share on other sites

Edit: Debugging further. LoadKexts is called before CheckForFakeSMC is called...

 Thank you for the analysis, it may be really the bug.

Expect: Bootlog with InjectKexts=Detect (and FakeSMC in cache) would look like InjectKexts=No.

Yes, and it is happen for me.

I have InjectKexts=Detect in config.plist

I have FakeSMC in SLE and I see only kernelcache loaded, no additional kexts. While they are present in Clover/..kexts.... folder.I am not using custom entries.

No idea if there is a difference between "loading kexts" and "injecting kexts".

LoadKexts works for kexts forced in config.plist

   // Force kexts to load
   if ((Entry->KernelAndKextPatches != NULL) &&
      (Entry->KernelAndKextPatches->NrForceKexts > 0) &&
      (Entry->KernelAndKextPatches->ForceKexts != NULL)) {

Share this post


Link to post
Share on other sites

...

LoadKexts works for kexts forced in config.plist

   // Force kexts to load
   if ((Entry->KernelAndKextPatches != NULL) &&
      (Entry->KernelAndKextPatches->NrForceKexts > 0) &&
      (Entry->KernelAndKextPatches->ForceKexts != NULL)) {

 

I'll try to look into that... I do not have any ForceKextsToLoad, but maybe something else triggers these settings.

Share this post


Link to post
Share on other sites

Lower case typo for DSDT autopatch.

 

FixBiosDsdt.c at line 2852

aml_add_string_buffer(pack, "Ethernet");
I think need to be in lower case

aml_add_string_buffer(pack, "ethernet");
ErmaC

Share this post


Link to post
Share on other sites

Lower case typo for DSDT autopatch.

 

FixBiosDsdt.c at line 2852

aml_add_string_buffer(pack, "Ethernet");
I think need to be in lower case

aml_add_string_buffer(pack, "ethernet");
ErmaC

 

There are different names.

device_type = "Ethernet"

name =  "ethernet"

But I see somehow strange that we write 

name = "pci1431,0013" for example.

The difference may occurred from different OSX version or just Apple do this differently on different Macs.

Share this post


Link to post
Share on other sites

There are different names.

device_type = "Ethernet"

name =  "ethernet"

But I see somehow strange that we write 

name = "pci1431,0013" for example.

The difference may occurred from different OSX version or just Apple do this differently on different Macs.

Yep I'm refear to name = ethernet

From a real Mac (MacMini)

I see only this...

 

GIGE.png

I'm unable to find the upper-case case (Ethernet) with this original configuration...

 

ErmaC

Share this post


Link to post
Share on other sites

See /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext/Contents/Info.plist

Screen Shot 2015-05-19 at 7.47.57.png

For the kext to load its name must be "pci14e4,1684" but not 'ethernet" as Apple did.

There is a question. How can Apple did this? I see other way for kext matching.


MacPro5,1

Screen Shot 2015-05-19 at 7.55.57.png

Share this post


Link to post
Share on other sites

There are different names.

device_type = "Ethernet"

name =  "ethernet"

But I see somehow strange that we write 

name = "pci1431,0013" for example.

The difference may occurred from different OSX version or just Apple do this differently on different Macs.

Thx Slice.

So... on the other hand the typo is here...

device_inject.c

line: 383

  devprop_add_value(device, "device_type", (UINT8*)"ethernet", 9);

ErmaC

Share this post


Link to post
Share on other sites

not building
Clover Update Detected !

******** Clover Package STATS **********

*       local  revision at 3217        *

*       remote revision at 3218        *

*       Package Built   =  No          *

****************************************

 

Getting SVN Source, Hang ten…

    Checked edk2 SVN, 'No updates were found...'

 

    Checked, Updates found...

    Auto Updating Clover From 3217 to 3218 ...

 

Local file(s) needs update:

CloverPackage/package/po/clover.pot

CloverPackage/package/po/de.po

CloverPackage/package/po/en.po

CloverPackage/package/po/es.po

CloverPackage/package/po/fr.po

CloverPackage/package/po/hr.po

CloverPackage/package/po/id.po

CloverPackage/package/po/it.po

CloverPackage/package/po/ja.po

CloverPackage/package/po/ko.po

CloverPackage/package/po/lv.po

CloverPackage/package/po/nl.po

CloverPackage/package/po/pl.po

CloverPackage/package/po/pt-BR.po

CloverPackage/package/po/pt.po

CloverPackage/package/po/ru.po

CloverPackage/package/po/sv.po

CloverPackage/package/po/tr.po

CloverPackage/package/po/uk.po

CloverPackage/package/po/zh_CN.po

CloverPackage/package/po/zh_TW.po

Not updating local repository ! Press any key to continue…

    

    Svn up Clover svn://svn.code.sf.net/p/cloverefiboot/code ERROR!!

Share this post


Link to post
Share on other sites

Year update for Clover pkg.

 

year_00.png

This tiny mod (same I do for Chameleon pkg) autoupdate the "last" year int the credits file with out the need to change it any new year...

 

--> year_autoupdate.txt

 

After apply the mod.

year_01.png

 

Enjoy.

 

ErmaC

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By glasgood
      CLOVER DUAL BOOT MOJAVE & WINDOWS 10 GUIDE 
       

       
       
      INCLUDES  MBR / LEGACY BIOS  TO  GPT / EFI CONVERSION
      USING MBR2GPT TOOL
       
       
      PREREQUISITE: Two physical discs ( SSD’s or HDD’s )
       
       
       
       
       
      STEP 1 - Clover dual boot configuration 
       
      Open config.plist with Clover Configurator
       
      Boot
       Legacy = PBR Timeout = True ( will remove the Timeout countdown, from Clover boot menu)  

       
      GUI 
      Scan / Custom
       Entries = True  Tool = True  Legacy = False ( removes extra Windows 10 entries )  
      Hide Volume
      - Preboot ( macOS Preboot )
      - Recovery ( macOS Recovery )
       

       
      So at boot you will have two options: boot macOS Mojave or Windows 10 
       
       
       
       
       
       
       
      ————————————————————
       
       
      STEP 2 - Using a drive without Windows 10 installed
       
      Disconnect system drive that contains your macOS Mojave install from computer ( This is so that Windows does not overwrite existing macOS Mojave boot loader )
       
      Proceed with a Windows 10 UEFI install.  
      After installation reconnect macOS Mojave Drive, the Windows installation should now be detected and usable in Clover. 
      If Windows 10 is not detected or able to boot,  then verify you installed Windows 10 as UEFI and not MBR ---->  ( Read step 2 - For a drive with Windows 10 installed )
       
       
      OR
       
       
       
      STEP 2 - Using a drive with Windows 10 already installed
       
      Verify your Windows install is  GPT / UEFI or MBR / Legacy BIOS.   
      If Windows install is GPT UEFI then Windows 10 install is ready to use at Clover boot menu, you should be able to boot into Windows directly from Clover boot screen. 
       

       
       
      But if  Windows drive is detected at Clover boot screen, but when booting Windows you get a black screen with a cursor on the top left,
      then this is most likely because Windows drive is MBR ( Legacy BIOS ).  You can easily convert MBR to GPT using  Windows MBR2GPT tool ( this saves hours work having to reinstall Windows 10 and setting up all your applications again  ) 
       
      If Windows 10 install is MBR / Legacy BIOS  then simply convert to GPT / UEFI  following instructions below ( read video summary and view video )
       
       
      ** To use Windows 10  MBR2GPT tool  you must have Windows 10 version 1703 ( creators update  ) or later and less than 3 partitions on 
      the Windows 10 drive **
       
      Video summary:
       
      Confirm Windows 10 drive is MBR Legacy BIOS ( in Windows Disk Management ) Reboot into Windows PE ( Advanced Startup ) Convert from MBR Legacy BIOS to GPT UEFI ( using commands below ) mbr2gpt /validate mbr2gpt /convert Restart Verify Windows 10 drive has changed to GPT UEFI ( in Windows Disk Management )  
       
       
       
      After conversion Windows 10 is ready to use at the Clover boot menu 
       
       
    • By SepehrM
      I'm trying to install High Sierra 10.13.3 on an ASUS N552VW laptop, and I get stuck after this message:
      "could not recover SATA HDD after 5 attempts, terminating" 
      And some other warnings afterwards.
      Specs:
      CPU: Intel Skylake 6700HQ 2.6GHz
      RAM: 16GB DDR4
      2TB HDD + 128GB SSD
      GPU: Intel HD Graphics 530 + Nvidia GTX960m
      I'm installing using a 16GB USB3 flash drive on one of HDD volumes (UEFI Mode)
       
      I uploaded the verbose log and clover config.plist
      config-new.plist

    • By Reel
      All work except camera
      You need SwitchResX that the screen does not freeze
         


    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
×