Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

Morning folks,

 

Does anyone use the "Slot" feature for adding entries to the PCI section of the System Information screen without a DSDT as I am struggling to make it fully work and would appreciate any tips!

 

This is how it currently look when trying to add my Apple WiFi card...

post-499606-0-72718600-1475560295_thumb.png

 

 

Link to comment
Share on other sites

I have same issue about hibernate.

 

Can you use hibernate wake option?

 

It means system with hibernate can booting. If my system have hibernate status(sleep or deep sleep or etc), i cant booting with "hibernate wake" option. My system isnt work hibernate mode.

 

Therefore i have to use "cancel hibernate wake". This option exist in OLD GUI.

 

 

I reported this issue. But surely not clear now in latest clover.

 

 

 

나의 LG-F410S 의 Tapatalk에서 보냄

If "Hibernate wake" is unchecked then it means "Cancel Hibernate Wake".

Not? Can you provide debug.log in this case to find a mistake?

 

 

@Slice and gurus,

 

Any suggestions on the patch APIC for dual cpus?

 

And if memory is set trough smbios will that somehow effect the system?

This question requires a debugging and development.

Link to comment
Share on other sites

If "Hibernate wake" is unchecked then it means "Cancel Hibernate Wake".

Not? Can you provide debug.log in this case to find a mistake?

 

 

This question requires a debugging and development.

 

here is log.

 

my laptop have hibernate

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

Link to comment
Share on other sites

@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.

  • Like 2
Link to comment
Share on other sites

@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.

+100

Link to comment
Share on other sites

@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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@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>
Link to comment
Share on other sites

@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

Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

@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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

×
×
  • Create New...