Jump to content
30960 posts in this topic

Recommended Posts

@D-an-W: I use it for injecting my gfx card slot. It works fine with this:

		<key>Slots</key>
		<array>
			<dict>
				<key>Device</key>
				<string>NVidia</string>
				<key>ID</key>
				<integer>1</integer>
				<key>Name</key>
				<string>Slot-1</string>
				<key>Type</key>
				<integer>16</integer>
			</dict>
		</array>

At first it didn't work, but it did when I used ReuseFFFF.

Can i use this to boot AMD gpu without IGPU?

Can't compile the latest build r3786. EDK2 22628, Xcode 8, Build_clover.command 4.07, building for release. Tried even to remove the whole ~/src/edk2 folder and start with a clean one, but no go.

 

Log

Hi

Update Build_clover.command to v4.0.8. Now sync with edk2 22731 (Slice)  :) 

  • Like 2

Can't compile the latest build r3786. EDK2 22628, Xcode 8, Build_clover.command 4.07, building for release. Tried even to remove the whole ~/src/edk2 folder and start with a clean one, but no go.

 

Log

It seems ShellPkg requires more attention.

bios boot to legacy clover,razer deathadder mouse works well,razer cynosa keyboard stop work,need unplug and plug razer deathadder to let it work,it is not relate to usb legacy mode,which is bios emulate ps/2 with usb,turn off usb legacy support doesn't effect clover deactive razer deathadder mouse,but keyboard doesn't work while press esc boot menu and chameleon select boot disk menu keyboard
I can use chameleon instead of,because it works on razer deathadder mouse and razer cynosa keyboard,and it works on gtx 650 ti boost,but mac app store can't work because chameleon can't built in lan.and chameleon can't patch applertc

@D-an-W: I use it for injecting my gfx card slot. It works fine with this:

		<key>Slots</key>
		<array>
			<dict>
				<key>Device</key>
				<string>NVidia</string>
				<key>ID</key>
				<integer>1</integer>
				<key>Name</key>
				<string>Slot-1</string>
				<key>Type</key>
				<integer>16</integer>
			</dict>
		</array>

At first it didn't work, but it did when I used ReuseFFFF.

 

Thanks, I just added ReuseFFFF but It didn't make any difference.

 

Do you use a DSDT with your system as Slice does say it needs the _SUN entry for it to work and I don't have one to add it to?

 

This is how mine looks now...

		<key>Slots</key>
		<array>
			<dict>
				<key>Device</key>
				<string>WIFI</string>
				<key>ID</key>
				<integer>1</integer>
				<key>Type</key>
				<integer>2</integer>
				<key>Name</key>
				<string>PCIe Slot 1</string>
			</dict>
		</array>

I also have to have this Airport fix to make the slot show up in the PCI section at all...

			<key>Fixes</key>
			<dict>
				<key>FixAirport_4000</key>
				<true/>
				<key>NewWay_80000000</key>
				<true/>
				<key>FIX_DARWIN_10000</key>
				<true/>
			</dict>

@Slice if you showed me what and how to debug I'm more then willing to do whatever needed to get those issues resolved. In the development part.... well I'm a little above useless. :)

in your config.plist put debug = true

Your debug log appears in EFI/CLOVER/MISC

post-1181448-0-03043800-1475599622_thumb.png

 

Do you use a DSDT with your system as Slice does say it needs the _SUN entry for it to work and I don't have one to add it to?

 

No, for the Z68 I only have a Clover plist. I don't know if I already had a _SUN entry or if FixDisplay_0100 added it.

@Slice

 

I'm attaching preboot/debug logs from Clover as well as:

 

smbiosview

pci

memmap

dmem

and some other dumps from EFI

 

I'm far from being a programmer but i've noticed this when I was just looking around 

 

in Clover debug:

0:100  0:000  === [ Get Smbios ] ========================================
0:100  0:000  Total Memory Slots Count = 4
0:100  0:000  Type 17 Index = 0
0:100  0:000  SmbiosTable.Type17->Speed = 2133MHz
0:100  0:000  SmbiosTable.Type17->Size = 16384MB
0:100  0:000  SmbiosTable.Type17->Bank/Device = NODE 1 DIMM_A1
0:100  0:000  SmbiosTable.Type17->Vendor = Micron
0:100  0:000  SmbiosTable.Type17->SerialNumber = 12167707
0:100  0:000  SmbiosTable.Type17->PartNumber = 36ASF2G72PZ-2G1B1  
0:100  0:000  Type 17 Index = 1
0:100  0:000  Ignoring insane frequency value 0MHz
0:100  0:000  SmbiosTable.Type17->Speed = 0MHz
0:100  0:000  SmbiosTable.Type17->Size = 0MB
0:100  0:000  SmbiosTable.Type17->Bank/Device = NODE 1 DIMM_A2
0:100  0:000  SmbiosTable.Type17->Vendor = <null string>
0:100  0:000  SmbiosTable.Type17->SerialNumber = <null string>
0:100  0:000  SmbiosTable.Type17->PartNumber = <null string>

in Smbiosview

=========================================================
Type=17, Handle=0x81
Dump Structure as:
Index=129,Length=0x6D,Addr=0x7DB50332
00000000: 11 28 81 00 7C 00 FE FF-48 00 48 00 00 40 09 00  *.(......H.H..@..*
00000010: 01 02 1A 80 00 55 08 03-04 05 06 02 00 00 00 00  *.....U..........*
00000020: 55 08 00 00 00 00 00 00-44 49 4D 4D 5F 48 31 00  *U.......DIMM_H1.*
00000030: 4E 4F 44 45 20 34 00 4D-69 63 72 6F 6E 00 31 32  *NODE 4.Micron.12*
00000040: 31 36 37 38 35 37 00 44-49 4D 4D 5F 48 31 5F 41  *167857.DIMM_H1_A*
00000050: 73 73 65 74 54 61 67 00-33 36 41 53 46 32 47 37  *ssetTag.36ASF2G7*
00000060: 32 50 5A 2D 32 47 31 42-31 20 20 00 00           *2PZ-2G1B1  ..*

Looks like index is different, sorry if/most likely I'm talking out of my a$$ without understanding {censored}.

 

 

Also is there a way for a Clover to detect both CPUs?

 

 

Thanks a lot,

 

EFI_Shell_Dumps.zip

preboot_debug_logs.zip

Edited by Balamut

here is log.

attachicon.gifdebug.log.zip

my laptop have hibernate

booted Macintosh SSD(hibernate). but i have black screen. so i need "cancel hibernate wake"

Take, please, latest Clover 3789

Uncomment those DBG statements at the end of menu.c

      ((LOADER_ENTRY*)TempChosenEntry)->Flags |= (UINT16)(gSettings.FlagsBits & 0x0FFF);
//      DBG("get FlagsBits = 0x%x\n", gSettings.FlagsBits);
#endif
      FreePool(TmpArgs);
      SubMenuExit = 0;
      while (!SubMenuExit) {
        SubMenuExit = RunGenericMenu(MainChosenEntry->SubScreen, Style, &SubMenuIndex, &TempChosenEntry);
#ifdef CHECK_FLAGS
        DecodeOptions((LOADER_ENTRY*)MainChosenEntry);
//        DBG("get OptionsBits = 0x%x\n", gSettings.OptionsBits);
        ((LOADER_ENTRY*)MainChosenEntry)->Flags = (UINT16)(gSettings.FlagsBits & 0x0FFF);
//        DBG("get FlagsBits = 0x%x\n", gSettings.FlagsBits);
#endif

Cancel Hibernate Wake means the flag

#define OSFLAG_HIBERNATED     (1 8)

will be zero

@Slice

 

I'm attaching preboot/debug logs from Clover as well as:

 

smbiosview

pci

memmap

dmem

and some other dumps from EFI

 

I'm far from being a programmer but i've noticed this when I was just looking around 

 

in Clover debug:

0:100  0:000  === [ Get Smbios ] ========================================
0:100  0:000  Total Memory Slots Count = 4
0:100  0:000  Type 17 Index = 0
0:100  0:000  SmbiosTable.Type17->Speed = 2133MHz
0:100  0:000  SmbiosTable.Type17->Size = 16384MB
0:100  0:000  SmbiosTable.Type17->Bank/Device = NODE 1 DIMM_A1
0:100  0:000  SmbiosTable.Type17->Vendor = Micron
0:100  0:000  SmbiosTable.Type17->SerialNumber = 12167707
0:100  0:000  SmbiosTable.Type17->PartNumber = 36ASF2G72PZ-2G1B1  
0:100  0:000  Type 17 Index = 1
0:100  0:000  Ignoring insane frequency value 0MHz
0:100  0:000  SmbiosTable.Type17->Speed = 0MHz
0:100  0:000  SmbiosTable.Type17->Size = 0MB
0:100  0:000  SmbiosTable.Type17->Bank/Device = NODE 1 DIMM_A2
0:100  0:000  SmbiosTable.Type17->Vendor = <null string>
0:100  0:000  SmbiosTable.Type17->SerialNumber = <null string>
0:100  0:000  SmbiosTable.Type17->PartNumber = <null string>

in Smbiosview

=========================================================
Type=17, Handle=0x81
Dump Structure as:
Index=129,Length=0x6D,Addr=0x7DB50332
00000000: 11 28 81 00 7C 00 FE FF-48 00 48 00 00 40 09 00  *.(......H.H..@..*
00000010: 01 02 1A 80 00 55 08 03-04 05 06 02 00 00 00 00  *.....U..........*
00000020: 55 08 00 00 00 00 00 00-44 49 4D 4D 5F 48 31 00  *U.......DIMM_H1.*
00000030: 4E 4F 44 45 20 34 00 4D-69 63 72 6F 6E 00 31 32  *NODE 4.Micron.12*
00000040: 31 36 37 38 35 37 00 44-49 4D 4D 5F 48 31 5F 41  *167857.DIMM_H1_A*
00000050: 73 73 65 74 54 61 67 00-33 36 41 53 46 32 47 37  *ssetTag.36ASF2G7*
00000060: 32 50 5A 2D 32 47 31 42-31 20 20 00 00           *2PZ-2G1B1  ..*

Looks like index is different, sorry if/most likely I'm talking out of my a$$ without understanding {censored}.

 

 

Also is there a way for a Clover to detect both CPUs?

 

 

Thanks a lot,

I see something new.

Your SMBIOS has several tables type16 which is very unusual. I will try to take them into account.

 

About CPU I don't know if you have any inconvenience. The system works? At full speed?

  • Like 1

Thank you very much Slice.

 

It doesn't. When the hyper threading is on the system gets instant panic on ApicCPU = 121 when in reality it should only be 87( 2cpus X 22 cores X threads per CPU).

 

991c9549978c7b3212e88a9c4d1bd873.jpg

 

Note: you can't see on that picture but it shows ApicCPU from 0 to 121 twice.

 

But when I disable the hyperthreading I managed to install but here is the problem, ApicCPU gets to 120 and after installation this happens;

 

Terminal crashes instantly, when looking at the crash log it says out of kernel memory.

 

89fad5d58837449c30676eb048f79b2b.jpg

 

Apps randomly crash or say the application is corrupted.

 

By biggest concern right now is terminal because most of my work is based on it, and if some system mods needed I'm fresh out of luck.

 

About full speed, actually I don't know, can't get to the terminal to install or check anything, cpumonitoring kext causes kernel panic, from your version or kozleks.

 

If needed I can explain in details at applelife I'm fluent in Russian:)

 

Thanks again

Preboot log is attached.

 

Looks like its almost there. You're the man :)

 

The only thing will be left is the dreadful CPU issue :)

Also just noticed this in preboot.log: The CPU not supported turbo, but I'm pretty sure it does.

 

This is what I was telling you about, the terminal crush and Geekbench showing No Value on the CPU architecture.

post-6786-0-28473600-1475661289_thumb.jpg

preboot.log.zip

Preboot log is attached.

 

Looks like its almost there. You're the man :)

 

The only thing will be left is the dreadful CPU issue :)

Also just noticed this in preboot.log: The CPU not supported turbo, but I'm pretty sure it does.

 

This is what I was telling you about, the terminal crush and Geekbench showing No Value on the CPU architecture.

attachicon.gifTerminal_Geekbench.jpg

Impressive

Congratulations Slice

@Slice

here is hibernate bug log.

Last login: Thu Oct 6 02:01:17 on console
Sherlocks-MacBook-Air:~ Supreme$ pmset -g
Active Profiles:
Battery Power 1
AC Power -1*
Currently in use:
standbydelay 10800
standby 1
womp 0
halfdim 1
hibernatefile /var/vm/sleepimage
powernap 1
networkoversleep 0
disksleep 10
sleep 1 (sleep prevented by iTunes, coreaudiod)
autopoweroffdelay 14400
hibernatemode 3
autopoweroff 1
ttyskeepawake 1
displaysleep 10
lidwake 1
Sherlocks-MacBook-Air:~ Supreme$



clover not detect RAM on my laptop in all clover version.

my laptop should has to input ram on smbios section in config.plist

if no ram info on smbios section, laptop is force reboot.


also i think it affects geekbench ram info. here is screenshot.

my laptop ram info with aida64 ram dump

My laptop has slot 1 on motherboard. Single channel
post-980913-0-22634000-1475687055_thumb.png


thanks in advance :)

add. my desktop has ram info bug. vendor can not detect in clover
you can check ScanSPD section in desktop log.

so i have to add info vendor "Samsung" on smbios section in config.plist

aida64 ram info.htm

i have not had a chance to recreate the hibernation situation my system. hibernate mode 7 used to work for me. i have not tried to recover in sierra.  

 

in El Capitan, setting hibernatemode 7 means manually editing the plist files in /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist as the pmset tool only accepts a few values.

 

from this log i see:

 

8:383  0:002  CurrentMode: Width=1920 Height=1080
8:386  0:002  Beginning FSInjection
8:393  0:007  PrepareHibernation:
8:396  0:002      read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
8:399  0:003      SleepImage name from pref: ImageVolume = 'Macintosh SSD', ImageName = '\private\var\vm\sleepimage'
8:402  0:002      returning previously calculated offset: 2A8E837000
8:404  0:002   SleepImageOffset: 2A8E837000

 

 

but now in Sierra the plist file(s) seem to be moved to /Library/Preferences

$ ls -l /Library/Preferences/*PowerManage* /Library/Preferences/SystemConfiguration/*PowerManage*
-rw-r--r--  1 root  wheel  1965 Jul 25 08:11 /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist~previous
-rw-r--r--  1 root  wheel   287 Oct  5 09:33 /Library/Preferences/com.apple.PowerManagement.3759A000-6E97-545E-BBBC-E88DB235CB34.plist
-rw-r--r--  1 root  wheel   297 Oct  5 09:33 /Library/Preferences/com.apple.PowerManagement.plist

see 2nd file below

$ /usr/libexec/PlistBuddy -c print /Library/Preferences/com.apple.PowerManagement.plist
Dict {
    Battery Power = Dict {
        Display Sleep Uses Dim = 1
        Display Sleep Timer = 3
        ReduceBrightness = 1
        System Sleep Timer = 15
        Disk Sleep Timer = 10
    }
    SystemPowerSettings = Dict {
        Update DarkWakeBG Setting = true
    }
    AC Power = Dict {
        Display Sleep Uses Dim = 1
        Display Sleep Timer = 20
        Disk Sleep Timer = 0
        Wake On LAN = 1
        System Sleep Timer = 0
    }
}

$ /usr/libexec/PlistBuddy -c print /Library/Preferences/com.apple.PowerManagement.3759A000-6E97-545E-BBBC-E88DB235CB34.plist
Dict {
    Battery Power = Dict {
        Wake On Clamshell Open = 1
        Hibernate Mode = 0
        Standby Delay = 4200
        TTYSPreventSleep = 1
        Hibernate File = /var/vm/sleepimage
        Standby Enabled = 0
    }
    AC Power = Dict {
        Hibernate Mode = 0
        Wake On Clamshell Open = 1
        PrioritizeNetworkReachabilityOverSleep = 0
        Standby Delay = 4200
        TTYSPreventSleep = 1
        Hibernate File = /var/vm/sleepimage
        Standby Enabled = 0
    }
}

It's OEM and if rumors to be true thats the CPU that Apple might be using on the higher end BTO on the new Mac Pros.

 

Here is the darwin dump as you asked. Also just in case I'm attaching CPU and ACPI dumps from Linux, x86infoCPU is interesting it shows 120 APICs.

 

On the side note, the hyper threading is not the only thing that causes panic, activating x2apic trows the system into panic with and without hyper threading.

 

 

 

 

You seems have an beta-CPU, not documented

attachicon.gifScreen Shot 2016-10-05 at 14.07.40.png


Can you make full DarwinDumper report without BIOS, without html, archive LZMA?

 


 

 

46:908  0:002  Found ACPI CPU: CP00 | CP01 | CP02 | CP03 | CP04 | CP05 | CP06 | CP07 | CP08 | CP09 | CP0A | CP0B | CP0C | CP0D | CP0E | CP0F | CP10 | CP11 | CP12 | CP13 | CP14 | CP15 | CP16 | CP17 | CP18 | CP19 | CP1A | CP1B | CP1C | CP1D | CP1E | CP1F , within the score: _SB_SCK0

 

 

 

 

 

I have the same thing BUT, look at the image, ACPI CPU in the DSDT goes all the way up to the CP2F (47?) and I've got 4 SCK's

 

post-6786-0-32677400-1475698974_thumb.jpg

DarwinDumper_3.0.1_05.10_11.48.44_MacPro6,1_AMI_X64_3790_Sierra_16A323_balamut.tar.lzma.zip

UbuntuDumps.zip

×
×
  • Create New...