Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

1 minute ago, vector sigma said:

It is a functionality of the Bonjur service that cause a problem of waking on wifi and LAN. Your is a different problem.


So untick "Wake for network access" and "enable Power Nap" should be the solution??? I have unticked these options in Energy Saver preferences

Link to comment
Share on other sites

32 minutes ago, Andres ZeroCross said:


So untick "Wake for network access" and "enable Power Nap" should be the solution??? I have unticked these options in Energy Saver preferences

No, or not entirely (I have a LAN and a WIFI). This depend if you are in a net (google):

  • Macs with USB-connected printers, providing Printer Sharing.
  • Macs with iTunes media, being served to Apple TVs or other iTunes machines.
  • Back to My Mac machines at home that are sleeping, and then woken on demand when you connect to them (from inside or outside the home).
  • Command-line login using ssh. 
  • Any other Bonjour-advertised service.

and if enabled the device remains asleep while the sleep proxy server responds to any Multicast DNS queries.

It does mean that dns/mac addresses are recycled across devices and the service awake the system because a listener send a message to it. If you aren't connected in any of those mentioned, you may want to use "Wake for network acces" with out having any Bonjour service enable (if you don't have a Apple router or Time Capsule?). Or at least what I'v undertood..

Edited by vector sigma
typos
  • Like 1
Link to comment
Share on other sites

15 minutes ago, mrjayviper said:

Hello. On previous versions, I use an EFI driver called "AptioMemoryFix-64". But it's not available anymore. Is there an existing equivalent? thanks

 

Hi. You can find it in Clover Installer PKG. Take a look in latest release r5098

Link to comment
Share on other sites

16 hours ago, Pene said:

 

 

 

Following this problem, I have narrowed it down to the rank of DIMMs used.

This error appears during install when he is trying to install with Single-Rank DIMMs (2x8GB).

The error does not appear, and he can install successfully, when trying to install with Dual-Rank DIMMs (also 2x8GB).

 

The memory rank information appears in SMBIOS, at Type17->Attributes (0Bh), maybe it needs to be taken into consideration for something? (currently we are not doing anything with it within Clover)

It still baffles me though how it can affect the installer to give this error. Also, if the Single-Rank DIMMs are put back after macOS is already installed, everything seems to be functioning properly.

It is very interesting find.

Clover doesn't do anything with the field

  //
  // Add for smbios 2.6
  //
  UINT8                                     Attributes;

because it was developed very long ago for older macs with Smbios 2.4.

We can add this line

    newSmbiosTable.Type17->MemoryErrorInformationHandle = 0xFFFF;
+   newSmbiosTable.Type17->Attributes = 0x0B;
    mHandle17[gRAMCount++] = LogSmbiosTable(newSmbiosTable);
  }

We have to know if it will not break anything else.

Make this patch conditional through config.plist?

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Slice said:

It is very interesting find.

Clover doesn't do anything with the field


  //
  // Add for smbios 2.6
  //
  UINT8                                     Attributes;

because it was developed very long ago for older macs with Smbios 2.4.

We can add this line


    newSmbiosTable.Type17->MemoryErrorInformationHandle = 0xFFFF;
+   newSmbiosTable.Type17->Attributes = 0x0B;
    mHandle17[gRAMCount++] = LogSmbiosTable(newSmbiosTable);
  }

We have to know if it will not break anything else.

Make this patch conditional through config.plist?

 

Hi Slice,

 

Thank you for the response. But I think I didn't explain myself well.

0Bh is the location of of the "Attributes", not it's content.

The content is newSmbiosTable.Type17->Attributes = 1 in case of Single-Rank DIMMs and newSmbiosTable.Type17->Attributes = 2 in case of Dual-Rank DIMMs.

But this information is *already present* in SMBIOS, without us doing anything special in Clover.

 

He sent me two dmidecodes from a booted Mac, for each case, with the different DIMMs installed. Look:

 

This is the non-working case with the Single-Rank DIMMS: (notice the RANK: 1, it is present in smbios and read from the Attributes address at 0Bh):

Handle 0x1101, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: DIMM
	Set: 1
	Locator: DIMM0
	Bank Locator: BANK 1
	Type: DDR4
	Type Detail: Synchronous Unbuffered (Unregistered)
	Speed: 2998 MT/s
	Manufacturer: Corsair
	Serial Number: 0000000000000000
	Asset Tag: Not Specified
	Part Number: CMW16GX4M2C3000C15
	Rank: 1
	Configured Clock Speed: 2133 MT/s
	Minimum Voltage: 1.2 V
	Maximum Voltage: 1.2 V
	Configured Voltage: 1.2 V

And this is the non-working case with the Dual-Rank DIMMS: (notice the RANK: 2, it is present in smbios and read from the Attributes address at 0Bh):

Handle 0x1100, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: DIMM
	Set: 1
	Locator: DIMM0
	Bank Locator: BANK 0
	Type: DDR4
	Type Detail: Synchronous Unbuffered (Unregistered)
	Speed: 3200 MT/s
	Manufacturer: G Skill Intl
	Serial Number: 0000000000000000
	Asset Tag: Not Specified
	Part Number: F4-3200C16-8GTZB
	Rank: 2
	Configured Clock Speed: 2133 MT/s
	Minimum Voltage: 1.2 V
	Maximum Voltage: 1.2 V
	Configured Voltage: 1.2 V

This is the only real difference between the chips.

He has two pairs of chips that it is working OK for install with them (one pair is 2x8GB - GSKILL the other is 2x16GB - CORSAIR). Both of these are working OK for install and both are with "Rank: 2".

He has only one pair with "Rank: 1" (they are more rare I think), but install keeps giving the error with them in all cases, also if using only a single DIMM, also when using both DIMMs.

 

I don't know what we should be doing with this information, I was mentioning it as maybe together we can understand what is going on here...

 

I tried, on my system, to add:

newSmbiosTable.Attributes = 1 

Just to see if it makes me also get the error (as my Rank also was 2) - but the error did not appear on my System (I don't actually have single-rank DIMMs to test with them, so I tried only to fake the rank).

 

There are many reports on the net (at other sites) about this issue, no one mentioned the Rank, but in most cases it was closed by using other DIMMs or moving the DIMMs in other slots (on boards that have more slots). So this is a memory issue, and in my opinion is is somehow related to the Rank. 

 

 

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

My computer reported

Handle 0x1100, DMI type 17, 40 bytes
0000: 11 28 00 11 00 10 ff ff ff ff ff ff 00 00 09 01 
0010: 01 02 00 80 00 00 00 00 00 00 00 00 00 00 00 00 
0020: 00 00 00 00 00 00 00 00 

Memory Device
	Array Handle: 0x1000
	Error Information Handle: No Error
	Total Width: Unknown
	Data Width: Unknown
	Size: No Module Installed
	Form Factor: DIMM
	Set: 1
	Locator: DIMM0
	Bank Locator: BANK 0
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Rank: Unknown
	Configured Clock Speed: Unknown
	Minimum voltage:  Unknown
	Maximum voltage:  Unknown
	Configured voltage:  Unknown

So why I have similar problem?

It was empty slot.

Occupied slot has info

Handle 0x1103, DMI type 17, 40 bytes
0000: 11 28 03 11 00 10 ff ff 40 00 40 00 00 10 09 02 
0010: 01 02 1a 80 00 55 08 03 04 00 06 01 00 00 00 00 
0020: 55 08 b0 04 b0 04 b0 04 

Memory Device
	Array Handle: 0x1000
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4096 MB
	Form Factor: DIMM
	Set: 2
	Locator: DIMM1
	Bank Locator: BANK 1
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 2133 MHz (0.5 ns)
	Manufacturer: 0000
	Serial Number: 0000000000000000
	Asset Tag: Not Specified
	Part Number: unknown
	Rank: 1
	Configured Clock Speed: 2133 MHz (0.5 ns)
	Minimum voltage:  1.200 V
	Maximum voltage:  1.200 V
	Configured voltage:  1.200 V

There is Rank=1, and there is Type <OUT OF SPEC>. I think Apple doesn't like wrong field in Smbios. We should somehow fill them.

Link to comment
Share on other sites

4 hours ago, Slice said:

So why I have similar problem?

It was empty slot.

Occupied slot has info

There is Rank=1, and there is Type <OUT OF SPEC>. I think Apple doesn't like wrong field in Smbios. We should somehow fill them.

Is this the computer that gives you similar error in install (by the way, is it the exact same message?) Does the error reproduce when you run an installation? If yes maybe it really is the same problem with single rank.

 

Also, I can't be sure that it will happen in all cases with Rank=1, it may depend also on placement in slots, or other factors.

 

But in his case information is correct in smbios. He really has single-rank ram memory in both slots and it is reported accordingly.

Edited by Pene
Link to comment
Share on other sites

Yes, it is this computer. 

I got this error updating 10.14.3 to 10.14.6, while clean installation of 10.14.6 was successful.

Strange that the error was checked only by installer. Final OS works.

Also strange my way to resolve the problem: boot by legacy Clover. It is not using AptioFix and this is the difference related to memory.

It's a pity we have no reproducible tests.

  • Like 2
  • Thanks 1
  • Sad 1
Link to comment
Share on other sites

17 hours ago, Pene said:

Well my friend can reproduce it every time if he tries clean install with both Catalina and Mojave with that single rank ram. But I don't really have an idea what solution to offer for him to test...

Make a Clover with Attributes=2 and test again.

Link to comment
Share on other sites

Hi,

 

newbie here... Can someone direct me to some wiki / documents that explains in depth what does each option do in Clover's customization screen when installing? For instance I see instructions where people will say to install as Boot0AF or Boot0SS in legacy which sounds a bit like a contradiction... So instead of doing a copy a paste of others instructions I would like to have a better grasp / understanding of Clover installing process.

Link to comment
Share on other sites

13 hours ago, mozbius said:

Hi,

 

newbie here... Can someone direct me to some wiki / documents that explains in depth what does each option do in Clover's customization screen when installing? For instance I see instructions where people will say to install as Boot0AF or Boot0SS in legacy which sounds a bit like a contradiction... So instead of doing a copy a paste of others instructions I would like to have a better grasp / understanding of Clover installing process.

https://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/

https://sourceforge.net/p/cloverefiboot/wiki/Home/

Instructions mostly outdated so ask at the forum what you have a question.

boot0af is recommended for actual configuration when you have GPT disk with partitions:

disk0s1  - EFI

disk0s2 - system, and more

So legacy boot will follow this algorithm:

1. BIOS will call HDD, read zero sector where boot0af installed.

2. boot0af will transfer execution to first sector in EFI partition where boot1f32 installed.

3. boot1f32 will load boot file (usually the copy of boot6) which is the legacy Clover containing EFI framework (so called CloverEFI).

4. CloverEFI will call CloverX64.efi which is GUI.

 

boot0ss is for old MBR formatted HDD. This is separate story.

  • Like 2
Link to comment
Share on other sites

@Pene

I pushed some changes to Clover related to smbios. Among them is the possibility to set MemoryRank (1 or 2 or keep native if not set) and a possibility to set SmbiosVersion. It is 2.4 before now. May be we have to follow new MacModels which have 3.0 or other versions.

If you can test it will be interesting to see if something changed.

  • Thanks 4
Link to comment
Share on other sites

3 hours ago, Slice said:

@Pene

I pushed some changes to Clover related to smbios. Among them is the possibility to set MemoryRank (1 or 2 or keep native if not set) and a possibility to set SmbiosVersion. It is 2.4 before now. May be we have to follow new MacModels which have 3.0 or other versions.

If you can test it will be interesting to see if something changed.

 

Thanks a lot specially for the possibility to set Custom SmbiosVersion :)

 

How I can know the appropriate value for new Mac Models and how to set correct string (hex value) in the config.plist?

 

Sorry for my bad english

 

EDIT: I don't understand what is the right syntax: for example, 0x26 or 0x0206

 

Capture d’écran 2019-11-15 à 17.50.48.png

Capture d’écran 2019-11-15 à 17.52.05.png

Edited by Matgen84
Link to comment
Share on other sites

1 hour ago, Matgen84 said:

 

Thanks a lot specially for the possibility to set Custom SmbiosVersion :)

 

How I can know the appropriate value for new Mac Models and how to set correct string (hex value) in the config.plist?

 

Sorry for my bad english

 

For example iMac17,1 has SmbiosVersion 3.0 as see in ioreg

Снимок экрана 2019-11-15 в 20.12.39.png

So in Clover we may write

SMBIOS->SmbiosVersion

<string>0x0300</string>

 

Or for older Mac

0x0206

to be version 2.6

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

On 11/13/2019 at 1:57 AM, Pene said:

Well my friend can reproduce it every time if he tries clean install with both Catalina and Mojave with that single rank ram. But I don't really have an idea what solution to offer for him to test...

 

my desktop has same issue. it installed 8g ram with sing bank.

i didnt set ram info in config.plist. im using imac17.1 smbios jn config.

always fail clean install. i tried all but fail.

i just have to install high sierra and update mojave or catalina. i can' directly install mojave+.

my laptop case, my laptop have to set ram on smbios part to boot macos in config. it has actually single ram bank and 8g ram. it never fail macos installation. my laptop set mbp13,1.

 

thank you for this report that i have been problem.

  • Like 1
Link to comment
Share on other sites

1 minute ago, Sherlocks said:

 

my desktop has same issue. it installed 8g ram with sing bank.

i didnt set ram info in config.plist. im using imac17.1 smbios jn config.

always fail clean install. i tried all but fail.

i just have to install high sierra and update mojave or catalina. i can' directly install mojave+.

my laptop case, my laptop have to set ram on smbios part to boot macos in config. it has actually single ram bank and 8g ram. it never fail macos installation. my laptop set mbp13,1.

 

thank you for this report that i have been problem.

Did you differ "single bank" and "single rank ram"?

Link to comment
Share on other sites

59 minutes ago, Slice said:

For example iMac17,1 has SmbiosVersion 3.0 as see in ioreg

 

So in Clover we may write

SMBIOS->SmbiosVersion

<string>0x0300</string>

 

Or for older Mac

0x0206

to be version 2.6

But SMBIOS v3 has other entry point and other GUID so I can't recommend to use it until all standards will be followed.

  • Thanks 1
Link to comment
Share on other sites

6 hours ago, Slice said:

@Pene

I pushed some changes to Clover related to smbios. Among them is the possibility to set MemoryRank (1 or 2 or keep native if not set) and a possibility to set SmbiosVersion. It is 2.4 before now. May be we have to follow new MacModels which have 3.0 or other versions.

If you can test it will be interesting to see if something changed.

Hi Slice,

Thanks.

Meanwhile. he tested with changed Rank (Attributes=2, before your latest changes) but unfortunately there was no change, install still failed. So changing this in smbios didn't really help

He said he will send me the memory chips so that I can make more investigations. But it will take a while till he sends them.

2 hours ago, Sherlocks said:

 

my desktop has same issue. it installed 8g ram with sing bank.

i didnt set ram info in config.plist. im using imac17.1 smbios jn config.

always fail clean install. i tried all but fail.

i just have to install high sierra and update mojave or catalina. i can' directly install mojave+.

my laptop case, my laptop have to set ram on smbios part to boot macos in config. it has actually single ram bank and 8g ram. it never fail macos installation. my laptop set mbp13,1.

 

thank you for this report that i have been problem.

What is your memory rank in dmidecode -t 17?

Also, your error is the exact one that my friend is reporing? 

Edited by Pene
Link to comment
Share on other sites

10 hours ago, Pene said:

Hi Slice,

Thanks.

Meanwhile. he tested with changed Rank (Attributes=2, before your latest changes) but unfortunately there was no change, install still failed. So changing this in smbios didn't really help

He said he will send me the memory chips so that I can make more investigations. But it will take a while till he sends them.

What is your memory rank in dmidecode -t 17?

Also, your error is the exact one that my friend is reporing? 

Hi Pene,

I see real iMac18,3 also has Rank=1

Handle 0x0001, DMI type 17, 40 bytes
0000: 11 28 01 00 00 00 fe ff 40 00 40 00 00 10 0d 00 
0010: 01 02 1a 80 00 60 09 03 04 05 06 01 00 00 00 00 
0020: 60 09 00 00 00 00 b0 04 

Memory Device
	Array Handle: 0x0000
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4096 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM0
	Bank Locator: BANK 0
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 2400 MHz (0.4 ns)
	Manufacturer: 0x802C
	Serial Number: 0x21211463
	Asset Tag:  
	Part Number: 0x344154463531323634485A2D3247334232202020
	Rank: 1
	Configured Clock Speed: 2400 MHz (0.4 ns)
	Minimum voltage:  Unknown
	Maximum voltage:  Unknown
	Configured voltage:  1.200 V

What is the size of your DIMM? Before my latest commit there was a problem with 32Gb modules. Ticket 595.

Link to comment
Share on other sites

13 hours ago, Slice said:

But SMBIOS v3 has other entry point and other GUID so I can't recommend to use it until all standards will be followed.

Up to iMac15,1 Apple used SmbiosVersion 2.4.

Since iMac17,1 I see SmbiosVersion 3.0.

  • Like 1
Link to comment
Share on other sites

15 hours ago, Slice said:

Hi Pene,

I see real iMac18,3 also has Rank=1

What is the size of your DIMM? Before my latest commit there was a problem with 32Gb modules. Ticket 595.

The dimm where install fails is a rank1 8gb x2 chips each (Corsair, total 16gb)

Install was ok with rank 2 8gb x2 chips (Gskill, total 16gb)

And also was ok on with rank 2 16gb x2 chips  (Corsair, total 32gb)

That's why I thought it is probably related to rank, as there was no other major difference between the chips where it worked and failed. Same size also as you see.

He was using iMac19,2 model.

 

Edited by Pene
Link to comment
Share on other sites

3 hours ago, Andres ZeroCross said:

I have rank 1,,  Memory model and frequency in my signature. No problem fresh Install Mojave and Catalina

So it must not be (olny) it. But it would be good if we got to the bottom of this.

Link to comment
Share on other sites

×
×
  • Create New...